מייבאים כמותיים, בדוקי עריכות אוטומטית, ביוראקראטן, אינטערפעיס רעדאקטארן, emailconfirmed, אינטערפעיס אדמיניסטראַטאָרן, מנטרים, סיסאפן, צוות טכני, מייבאים, מעדכנים, אספקלריה רעדאקטארן
102,362
רעדאגירונגען
ק (אויסשטעל, פאראויסקוק אונטער אלעס) |
(פארוואס זעט דער שיכור דאפלט?) |
||
| שורה 452: | שורה 452: | ||
} | } | ||
$('#asList').attr('disabled', $('#asRef').prop('checked'));//disable list if ref | $('#asList').attr('disabled', $('#asRef').prop('checked'));//disable list if ref | ||
$('#asRef').attr('disabled', $('#asList').prop('checked'));//disable ref if list | |||
$(".ui-dialog-buttonpane button:contains('" + i18n('ok') + "')").button(canOK); | $(".ui-dialog-buttonpane button:contains('" + i18n('ok') + "')").button(canOK); | ||
$('#tpw_preview').text(createWikiCode()); | $('#tpw_preview').text(createWikiCode()); | ||
| שורה 676: | שורה 676: | ||
) | ) | ||
.append($('<label>').text(' רעפערענץ ')) | .append($('<label>').text(' רעפערענץ ')) | ||
.append($('<input>', {type: 'checkbox', id: 'asRef'}).change(updateRawPreview)) | .append($('<input>', { type: 'checkbox', id: 'asRef' }).change(updateRawPreview)) | ||
.append($('<label>').css({width: '12em'}).text( ' אייטעם אין א ליסטע ')) | .append($('<label>').css({ width: '12em' }).text(' אייטעם אין א ליסטע ')) | ||
.append($('<input>', {type: 'checkbox', id: 'asList'}).change(updateRawPreview)) | .append($('<input>', { type: 'checkbox', id: 'asList' }).change(updateRawPreview)) | ||
.append($('<pre>', { id: 'tpw_preview' }).addClass('tpw-wikicode-preview')); | .append($('<pre>', { id: 'tpw_preview' }).addClass('tpw-wikicode-preview')); | ||
| שורה 697: | שורה 697: | ||
$('.tipsy').hover(enterTipsy, leaveTipsy); | $('.tipsy').hover(enterTipsy, leaveTipsy); | ||
$(document).delegate('.ui-dialog', 'keyup', function (e) { | $(document).delegate('.ui-dialog', 'keyup', function (e) { | ||
console.log("keyup"); | |||
var target = e.target; | var target = e.target; | ||
console.log("target:", target); | |||
var tagName = target.tagName.toLowerCase(); | var tagName = target.tagName.toLowerCase(); | ||
| שורה 707: | שורה 709: | ||
tagName !== 'select' && | tagName !== 'select' && | ||
tagName !== 'button'; | tagName !== 'button'; | ||
console.log("tagName:", tagName); | |||
console.log("isClickableTag:", isClickableTag); | |||
if (e.which === $.ui.keyCode.ENTER && isClickableTag) { | if (e.which === $.ui.keyCode.ENTER && isClickableTag) { | ||
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()); | |||
return false; | return false; | ||
רעדאגירונגען