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

/תיעוד, /קוד, /doc
(פראבע צו פילטערן דאקס)
(/תיעוד, /קוד, /doc)
 
(4 צווישנדיגע ווערסיעס פונעם זעלבן באַניצער נישט געוויזן)
שורה 698: שורה 698:
             var clicked = false;
             var clicked = false;
             $(document).delegate('.ui-dialog', 'keyup', function (e) {
             $(document).delegate('.ui-dialog', 'keyup', function (e) {
            if (clicked) return;
                if (clicked) return;
                 //console.log("keyup");
                 //console.log("keyup");
                 var target = e.target;
                 var target = e.target;
שורה 716: שורה 716:


                 if (e.which === $.ui.keyCode.ENTER && isClickableTag) {
                 if (e.which === $.ui.keyCode.ENTER && isClickableTag) {
                clicked = true;
                    clicked = true;
                     //console.log("enter");
                     //console.log("enter");
                     $(this).find('.ui-dialog-buttonset button').eq(0).trigger('click');
                     $(this).find('.ui-dialog-buttonset button').eq(0).trigger('click');
שורה 766: שורה 766:
                             function (data) {
                             function (data) {
                                 if (data[1]) {
                                 if (data[1]) {
                                var d = data[1].filter(function(str) {return !str.includes("/דאק")});
                                    var filteredArray = Array.from(data[1]).filter(function (str) { return !str.includes("/דאק") && !str.includes("/תיעוד") && !str.includes("/קוד") && !str.toLowerCase().includes("/doc")});
                                     response(d.map(function (index, item) { return item.replace(/.*:/, ''); }));
                                     response($(filteredArray).map(function (index, item) { return item.replace(/.*:/, ''); }));
                                 }
                                 }
                             }
                             }