Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[livejournal] r18904: LJSUP-8440: bubble fixes

Committer: szhirkov
LJSUP-8440: bubble fixes
U   trunk/htdocs/js/commentmanage.js
Modified: trunk/htdocs/js/commentmanage.js
===================================================================
--- trunk/htdocs/js/commentmanage.js	2011-04-19 01:17:46 UTC (rev 18903)
+++ trunk/htdocs/js/commentmanage.js	2011-04-19 04:32:10 UTC (rev 18904)
@@ -252,11 +252,9 @@
 			
 			window.delPopup
 				.html('<div class="b-popup-group"><div class="b-popup-row b-popup-row-head"><strong>' + getLocalizedStr('comment.mark.spam.title', comUser) + '</strong></div><div class="b-popup-row">' + getLocalizedStr('comment.mark.spam.subject', comUser) + '</div><div class="b-popup-row"><input type="button" class="spam-comment-button" onclick="deleteComment(' + dItemid + ', \'' + action + '\');" value="' + getLocalizedStr('comment.mark.spam.button', comUser) + '"></div><div>', ae, e, 'spamComment' + dItemid)
-				.bubble({
-					toggleOnTargetClick: false
-				})
+				.bubble()
 				.bubble('show', ae);
-			
+
 			return true;
 		} else if (action == 'delete') {
 	        var inHTML = [ "<form id='ljdelopts" + dItemid + "'><div class='b-popup-group'><div class='b-popup-row b-popup-row-head'><strong>" + getLocalizedStr( 'comment.delete.q', comUser ) + "</strong></div>" ];
@@ -286,10 +284,9 @@
 			
 			window.modPopup
 				.html(inHTML.join(' '))
-				.bubble({
-					toggleOnTargetClick: false
-				})
+				.bubble()
 				.bubble('show', ae);
+				
 		} else if (action == 'unspam') {
 			deleteComment(dItemid, action);
 		}

Tags: aralot, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments