Skip to content

Commit 30f4b86

Browse files
BrunildaDostiSam Tuke
authored andcommitted
functions quote changes
1 parent 6fd9ad5 commit 30f4b86

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

public_html/lists/admin/js/phplistapp.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function openHelpDialog(url) {
110110
var destpage = urlParameter('page', url);
111111
url = url.replace(/page=/, 'origpage=');
112112
$("#dialog").load(url + '&ajaxed=true&page=pageaction&action=' + destpage);
113-
$(".ui-widget-overlay").on('click', function () {
113+
$(".ui-widget-overlay").on("click",function () {
114114
$("#dialog").dialog('close');
115115
});
116116
}
@@ -133,7 +133,7 @@ function totalSentUpdate(msgid) {
133133
}
134134

135135
$(document).ready(function () {
136-
$(".note .hide").on('click',function () {
136+
$(".note .hide").on("click",function () {
137137
$(this).parents('.note').hide();
138138
});
139139

@@ -143,7 +143,7 @@ $(document).ready(function () {
143143
}
144144
});
145145

146-
$("a.ajaxable").on('click',function () {
146+
$("a.ajaxable").on("click",function () {
147147
var url = this.href;
148148
var thispage = urlParameter('page', window.location.href);
149149
if (thispage == "") {
@@ -161,7 +161,7 @@ $(document).ready(function () {
161161
return false;
162162
});
163163

164-
$("input:checkbox.checkallcheckboxes").on('click',function () {
164+
$("input:checkbox.checkallcheckboxes").on("click",function () {
165165
if (this.checked) {
166166
$("input[type=checkbox]:not(:checked)").each(function () {
167167
this.checked = true;
@@ -193,12 +193,12 @@ $(document).ready(function () {
193193
e.preventDefault();
194194
});
195195

196-
$(".closedialog").on('click',function () {
196+
$(".closedialog").on("click",function () {
197197
$("#dialog").dialog('close');
198198
});
199199

200200
//dropbuttons
201-
$("div.dropButton img.arrow").on('click',function () {
201+
$("div.dropButton img.arrow").on("click",function () {
202202
submenu = $(this).parent().parent().find("div.submenu");
203203
if (submenu.css('display') == "block") {
204204
submenu.hide();
@@ -239,47 +239,47 @@ $(document).ready(function () {
239239
$(".tabbed1").tabs();
240240
}
241241

242-
$("#subjectinput").trigger("focus",function () {
242+
$("#subjectinput").on("focus",function () {
243243
if (this.value == '(no subject)') {
244244
this.value = "";
245245
}
246246
})
247-
$("#subjectinput").on('blur',function () {
247+
$("#subjectinput").on("blur",function () {
248248
if (this.value == "") {
249249
this.value = "(no subject)";
250250
return;
251251
}
252252
});
253-
$("#campaigntitleinput").trigger("focus",function () {
253+
$("#campaigntitleinput").on("focus",function () {
254254
if (this.value == '(no title)') {
255255
this.value = "";
256256
}
257257
})
258-
$("#campaigntitleinput").on('blur',function () {
258+
$("#campaigntitleinput").on("blur",function () {
259259
if (this.value == "") {
260260
this.value = "(no title)";
261261
return;
262262
}
263263
});
264-
$("#remoteurlinput").trigger("focus",function () {
264+
$("#remoteurlinput").on("focus",function () {
265265
if (this.value == 'e.g. https://www.phplist.com/testcampaign.html') {
266266
this.value = "";
267267
}
268268
})
269-
$("#remoteurlinput").on('blur',function () {
269+
$("#remoteurlinput").on("blur",function () {
270270
if (this.value == "") {
271271
this.value = "e.g. https://www.phplist.com/testcampaign.html";
272272
return;
273273
}
274274
$("#remoteurlstatus").html(busyImage);
275275
$("#remoteurlstatus").load("./?page=pageaction&action=checkurl&ajaxed=true&url=" + this.value);
276276
});
277-
$("#filtertext").trigger("focus",function () {
277+
$("#filtertext").on("focus",function () {
278278
if (this.value == ' --- filter --- ') {
279279
this.value = "";
280280
}
281281
})
282-
$("#filtertext").on('blur',function () {
282+
$("#filtertext").on("blur",function () {
283283
if (this.value == "") {
284284
this.value = " --- filter --- ";
285285
return;
@@ -298,7 +298,7 @@ $(document).ready(function () {
298298

299299

300300

301-
$("a.savechanges").on('click',function () {
301+
$("a.savechanges").on("click",function () {
302302
if (changed) {
303303
document.sendmessageform.followupto.value = this.href;
304304
document.location.hash = ""
@@ -404,12 +404,12 @@ $(document).ready(function () {
404404
});
405405
});
406406

407-
$("#processexport").on('click',function () {
407+
$("#processexport").on("click",function () {
408408
// for export, refresh underlying page, to get a new security token
409409
setTimeout("refreshExport()", 10000);
410410
})
411411

412-
$("#selectallcheckbox").on('click',function () {
412+
$("#selectallcheckbox").on("click",function () {
413413
$(':checkbox').prop('checked', this.checked);
414414
})
415415

@@ -422,14 +422,14 @@ $(document).ready(function () {
422422
// $("#processqueueoutput").html('Processing queue, please wait<script type="text/javascript">alert(document.location)</script>');
423423
$("#spinner").html(busyImage);
424424

425-
$("#stopqueue").on('click', function () {
425+
$("#stopqueue").on("click",function () {
426426
$("#processqueueoutput").html('Processing cancelled');
427427
$("#spinner").html('&nbsp;');
428428
$("#stopqueue").hide();
429429
$("#resumequeue").show();
430430
});
431431

432-
$(".updatepluginbutton").on('click',function () {
432+
$(".updatepluginbutton").on("click",function () {
433433
if (!confirm("Are you sure you want to update this plugin? \nphpList does not currently check on compatibility of the update.\nThis will just fetch the latest version.\nPlease verify before upgrading.")) {
434434
return false;
435435
}

0 commit comments

Comments
 (0)