Module: nagvis
Branch: master
Commit: 1524e4e536df14237845c8a2c3f769bc8d53c141
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=1524e4e536df14237845c8a2c3f769bc8d53c141

Author: LaMi <[email protected]>
Date:   Tue Jan  5 11:09:41 2010 +0100

Fixed new user/role management dialogs js code in IE

---

 share/frontend/nagvis-js/js/NagVisTextbox.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/share/frontend/nagvis-js/js/NagVisTextbox.js 
b/share/frontend/nagvis-js/js/NagVisTextbox.js
index 1b71197..4917f85 100644
--- a/share/frontend/nagvis-js/js/NagVisTextbox.js
+++ b/share/frontend/nagvis-js/js/NagVisTextbox.js
@@ -81,18 +81,20 @@ var NagVisTextbox = NagVisStatelessObject.extend({
         * @author      Lars Michelsen <[email protected]>
         */
        parseTextbox: function () {
-               if(this.conf.w) {
+               if(this.conf.w && this.conf.w !== '') {
                        this.conf.w = this.conf.w+'px';
                } else {
                        this.conf.w = 'auto';
                }
                
-               if(this.conf.h) {
+               if(this.conf.h && this.conf.h !== '') {
                        this.conf.h = this.conf.h+'px';
                } else {
                        this.conf.h = 'auto';
                }
                
+               alert(this.conf.w);
+               
                var oLabelDiv = document.createElement('div');
                oLabelDiv.setAttribute('id', this.conf.object_id+'label');
                oLabelDiv.setAttribute('class', 'box');


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to