Content deleted Content added
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 136:
if(code.indexOf("|X") !== -1) {
value = " "+prompt((response.prompt ? response.prompt : "Expiration date?") + " (optional)");
code = code.slice(0,-1) + value;
} else if(response.prompt) {
value = " "+prompt(response.prompt + " (optional)");
}
if(value === null) return false;
$(".wikiEditor-ui-text textarea").val($(".wikiEditor-ui-text textarea").val() + ":{{RFPP|" + code + "}}
$("#wpSummary").val($("#wpSummary").val() + response.summary + value);
};
|