מדיה ויקי:Gadget-HotCat.js: הבדלים בין גרסאות בדף
Fix a bug with edit conflicts |
מ Fix a bug with Ctrl-click on OK button, which didn't work |
||
| שורה 1,136: | שורה 1,136: | ||
} | } | ||
var OK = make ('input'); OK.type = ' | // Do not use type 'submit'; we cannot detect modifier keys if we do | ||
var OK = make ('input'); OK.type = 'button'; | |||
OK.value = button_label ('wpOkUploadLbl', HotCat.messages.ok); | OK.value = button_label ('wpOkUploadLbl', HotCat.messages.ok); | ||
OK.onclick = bind (this.accept, this); | |||
this.ok = OK; | this.ok = OK; | ||