[Pkg-mozext-commits] [wot] 217/226: Fixed the issue with doubled click event on submit; Removed visual effects since there is no more jQuery UI lib.

David Prévot taffit at moszumanska.debian.org
Fri May 1 00:35:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository wot.

commit e7c74db6128a5c788b2f112e0eb59ab8f88443b8
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date:   Fri May 9 15:26:51 2014 +0300

    Fixed the issue with doubled click event on submit; Removed visual effects since there is no more jQuery UI lib.
---
 content/rw/ratingwindow.js | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/content/rw/ratingwindow.js b/content/rw/ratingwindow.js
index aafee1c..40acbed 100644
--- a/content/rw/ratingwindow.js
+++ b/content/rw/ratingwindow.js
@@ -1166,10 +1166,10 @@ $.extend(wot, { ratingwindow: {
 
         // Rate mode event handlers
         $("#btn-comment").unbind("click").bind("click", _rw.on_comment_button);
-        $("#btn-submit").bind("click", _rw.on_submit);
-        $("#btn-thanks-ok").bind("click", _rw.on_thanks_ok);
+        $("#btn-submit").unbind("click").bind("click", _rw.on_submit);
+        $("#btn-thanks-ok").unbind("click").bind("click", _rw.on_thanks_ok);
         $("#btn-cancel").bind("click", _rw.on_cancel);
-        $("#btn-delete").bind("click", _rw.on_delete_button);
+        $("#btn-delete").unbind("click").bind("click", _rw.on_delete_button);
         $("#change-ratings, #voted-categories-content").bind("click", _rw.on_change_ratings);
 
 
@@ -1548,7 +1548,7 @@ $.extend(wot, { ratingwindow: {
 		        direction: "in"
 	        },
 
-	        show_duration: 100,
+	        show_duration: 0,
 	        hide_duration: 0,
 
 	        before_show: function (prev_mode) {
@@ -1601,7 +1601,7 @@ $.extend(wot, { ratingwindow: {
 		        direction: "in"
 	        },
 
-	        show_duration: 100,
+	        show_duration: 0,
 	        hide_duration: 0,
 
 	        before_show: function (prev_mode) {
@@ -1641,7 +1641,7 @@ $.extend(wot, { ratingwindow: {
 		        direction: "in"
 	        },
 
-	        show_duration: 100,
+	        show_duration: 0,
 	        hide_duration: 0,
 
 	        activate: function (force) {
@@ -1684,7 +1684,7 @@ $.extend(wot, { ratingwindow: {
 		        direction: "in"
 	        },
 
-	        show_duration: 100,
+	        show_duration: 0,
 	        hide_duration: 0,
 
 	        activate: function (force) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git



More information about the Pkg-mozext-commits mailing list