Ticket #55332: edit-comments.js.patch
File edit-comments.js.patch, 581 bytes (added by , 3 years ago) |
---|
-
edit-comments.js
old new 1216 1216 */ 1217 1217 discardCommentChanges: function() { 1218 1218 var editRow = $( '#replyrow' ); 1219 1220 // TheMC, stop worthless popup warnings 1221 var editContent = $( '#replycontent', editRow ).val(); 1222 if ( this.originalContent == '' && typeof editContent == 'undefined' ) { 1223 console.error('skipping lost comment changes popup'); 1224 return true; 1225 } 1219 1226 1220 1227 if ( this.originalContent === $( '#replycontent', editRow ).val() ) { 1221 1228 return true;