The branch, master has been updated
       via  03436f6511041f4fd9028ca3c01d95f7a94b14ed (commit)
      from  9bb001b556f491cf1ffa292e909366bb1ad3f36c (commit)


- Log -----------------------------------------------------------------
commit 03436f6511041f4fd9028ca3c01d95f7a94b14ed
Author: Yuichiro <[email protected]>
Date:   Wed Dec 7 12:59:03 2011 +0000

    Patch #3453408 - Fixed text overflow in the toggle switch of the Event 
Scheduler

-----------------------------------------------------------------------

Summary of changes:
 js/functions.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/js/functions.js b/js/functions.js
index 1e2bbad..829ae58 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -3137,8 +3137,9 @@ var toggleButton = function ($obj) {
     var on  = $('.toggleOn', $obj).width();
     var off = $('.toggleOff', $obj).width();
     // Make the "ON" and "OFF" parts of the switch the same size
-    $('.toggleOn > div', $obj).width(Math.max(on, off));
-    $('.toggleOff > div', $obj).width(Math.max(on, off));
+    // + 2 pixels to avoid overflowed
+    $('.toggleOn > div', $obj).width(Math.max(on, off) + 2);
+    $('.toggleOff > div', $obj).width(Math.max(on, off) + 2);
     /**
      *  var  w  Width of the central part of the switch
      */


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to