אונטערשייד צווישן ווערסיעס פון "מעדיעוויקי:Gadget-TemplateParamWizard.js"

קפיצה לניווט קפיצה לחיפוש
/תיעוד, /קוד, /doc
(פארוואס זעט דער שיכור דאפלט?)
(/תיעוד, /קוד, /doc)
 
(9 צווישנדיגע ווערסיעס פונעם זעלבן באַניצער נישט געוויזן)
שורה 696: שורה 696:
             updateRawPreview();
             updateRawPreview();
             $('.tipsy').hover(enterTipsy, leaveTipsy);
             $('.tipsy').hover(enterTipsy, leaveTipsy);
            var clicked = false;
             $(document).delegate('.ui-dialog', 'keyup', function (e) {
             $(document).delegate('.ui-dialog', 'keyup', function (e) {
                 console.log("keyup");
                 if (clicked) return;
                //console.log("keyup");
                 var target = e.target;
                 var target = e.target;
                 console.log("target:", target);
                 console.log("target:", target);
שורה 710: שורה 712:
                     tagName !== 'button';
                     tagName !== 'button';


                 console.log("tagName:", tagName);
                 //console.log("tagName:", tagName);
                 console.log("isClickableTag:", isClickableTag);
                 //console.log("isClickableTag:", isClickableTag);


                 if (e.which === $.ui.keyCode.ENTER && isClickableTag) {
                 if (e.which === $.ui.keyCode.ENTER && isClickableTag) {
                     console.log("enter");
                     clicked = true;
                    //console.log("enter");
                     $(this).find('.ui-dialog-buttonset button').eq(0).trigger('click');
                     $(this).find('.ui-dialog-buttonset button').eq(0).trigger('click');


                     console.log("Clicked button:" + $(this).find('.ui-dialog-buttonset button').eq(0).text());
                     //console.log("Clicked button:" + $(this).find('.ui-dialog-buttonset button').eq(0).text());


                     return false;
                     return false;
שורה 762: שורה 765:
                             { action: 'opensearch', search: request.term, namespace: 10 },
                             { action: 'opensearch', search: request.term, namespace: 10 },
                             function (data) {
                             function (data) {
                                 if (data[1])
                                 if (data[1]) {
                                     response($(data[1]).map(function (index, item) { return item.replace(/.*:/, ''); }));
                                     var filteredArray = Array.from(data[1]).filter(function (str) { return !str.includes("/דאק") && !str.includes("/תיעוד") && !str.includes("/קוד") && !str.toLowerCase().includes("/doc")});
                                    response($(filteredArray).map(function (index, item) { return item.replace(/.*:/, ''); }));
                                }
                             }
                             }
                         );
                         );

נאוויגאציע מעניו