User:Bosco/Unsigned helper.js: Difference between revisions

From Test Wiki
Content deleted Content added
reportNormalSearcherResultToUser: show more information about the found revision to the user of the script: timestamp, author (user who made the edit), byte change
reportSearcherResultToUser: set minWidth of the dialog to 20% of the screen width to fit the info from Special:Diff/1304091700
Line 580: Line 580:
.dialog({
.dialog({
title: dialogTitle,
title: dialogTitle,
minWidth: document.body.clientWidth / 5,
modal: true,
modal: true,
buttons: {
buttons: {
Line 714: Line 715:
searchFromIndex(0);
searchFromIndex(0);
}
}

window.unsignedHelperAddUnsignedTemplate = function(event) {
window.unsignedHelperAddUnsignedTemplate = function(event) {
event.preventDefault();
event.preventDefault();