מדיה ויקי:Gadget-InterwikiOrder.js: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מאין תקציר עריכה |
||
| שורה 1: | שורה 1: | ||
function checkShortcuts() { | function checkShortcuts() { | ||
alert("A"); | |||
text = document.getElementById('searchInput'); | text = document.getElementById('searchInput'); | ||
for (var i = 0; i < customShortcutsArr.length; i++) { | for (var i = 0; i < customShortcutsArr.length; i++) { | ||
| שורה 5: | שורה 6: | ||
text.value = customShortcutsArr[text.value]; | text.value = customShortcutsArr[text.value]; | ||
} | } | ||
return true; | return true; | ||
} | } | ||
| שורה 26: | שורה 26: | ||
} | } | ||
a.send(null); | a.send(null); | ||
alert("B"); | |||
var form = document.getElementById('searchform'); | var form = document.getElementById('searchform'); | ||
if (!form) return; | if (!form) return; | ||