מדיה ויקי:Gadget-TemplateParamWizard.js: הבדלים בין גרסאות בדף

ניסוי
ניסוי
שורה 531: שורה 531:
function pickTemplate(item) {
function pickTemplate(item) {
function okButtonPressed(e, ui) {
function okButtonPressed(e, ui) {
template = ui.item.value;
template = ui ? ui.item.value : selector.value;
fireDialog();
fireDialog();
templateSelector.dialog("close");
templateSelector.dialog("close");