##// END OF EJS Templates
hgweb: escape class keyword when used as a js object property (issue4913)
av6 -
r26832:3ed635cb stable
parent child Browse files
Show More
@@ -376,7 +376,7 b' function ajaxScrollInit(urlFormat,'
376
376
377 if (!nextPageVar) {
377 if (!nextPageVar) {
378 var message = {
378 var message = {
379 class: 'scroll-loading-info',
379 'class': 'scroll-loading-info',
380 text: 'No more entries'
380 text: 'No more entries'
381 };
381 };
382 appendFormatHTML(container, messageFormat, message);
382 appendFormatHTML(container, messageFormat, message);
@@ -388,7 +388,7 b' function ajaxScrollInit(urlFormat,'
388 'GET',
388 'GET',
389 function onstart() {
389 function onstart() {
390 var message = {
390 var message = {
391 class: 'scroll-loading',
391 'class': 'scroll-loading',
392 text: 'Loading...'
392 text: 'Loading...'
393 };
393 };
394 appendFormatHTML(container, messageFormat, message);
394 appendFormatHTML(container, messageFormat, message);
@@ -423,7 +423,7 b' function ajaxScrollInit(urlFormat,'
423 },
423 },
424 function onerror(errorText) {
424 function onerror(errorText) {
425 var message = {
425 var message = {
426 class: 'scroll-loading-error',
426 'class': 'scroll-loading-error',
427 text: 'Error: ' + errorText
427 text: 'Error: ' + errorText
428 };
428 };
429 appendFormatHTML(container, messageFormat, message);
429 appendFormatHTML(container, messageFormat, message);
General Comments 0
You need to be logged in to leave comments. Login now