Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Modal Issue in Firefox
13/08/2008
11:09
Avatar
phild
Member
Members
Forum Posts: 3
Member Since:
13/08/2008
sp_UserOfflineSmall Offline

This is a weird issue as it is only happening to me in Firefox. The modal does not appear at all after it's first usage in any one of the buttons in the navigator. It seems to work fine in IE6 (although, is there a way to put where the "Warning" pop-up?). Here is my jqGrid logic:

                $("##contact").jqGrid({
                    url: 'contacts.cfm?id=#url.id#'
                    , datatype: 'xml'
                    , mtype: 'GET'
                    , colNames:['Label','Data','Display?','Resource']
                    , colModel: [
                        {name:'label', index:'label', editable:true, edittype:"text", editrules:{required:true}}
                        , {name:'data', index:'data', editable:true, edittype:"text", editrules:{required:true}}
                        , {name:'isDisplay', index:'isDisplay', width:80, editable:true, edittype:"checkbox", editoptions:{value:"1:0"}}
                        , {name:'swcare_id', index:'swcare_id', editable:false}
                    ]
                    , pager: jQuery('##pager')
                    , recordtext:"Contacts"
                    , rowNum: 10
                    , rowList:[10,20,30]
                    , sortname: 'id'
                    , sortorder: 'desc'
                    , viewrecords: true
                    , imgpath: '/js/themes/coffee/images'
                    , caption: 'Alternate Contacts'
                    , editurl: "contacts.cfm"
                    , afterInsertRow: function(rowid, aData){
                        switch (aData.name) {
                            case '1':
                                $("##contact").setCell(rowid,'isDisplay','',{color:'green'});
                                break;
                            case '0':
                                $("##contact").setCell(rowid,'isDisplay','',{color:'red'});
                                break;
                        }
                    }
                    , gridComplete: function(){
                        $('##contact').hideCol(["swcare_id"]);
                    }
                })
                .navGrid("##pager"
                    ,{refresh:true,edit:true,add:true,del:true,search:false}
                )

All of the right js files are being loaded as confirmed using Firebug. Any help would be appreciated. Thanks,

Phil

13/08/2008
11:15
Avatar
phild
Member
Members
Forum Posts: 3
Member Since:
13/08/2008
sp_UserOfflineSmall Offline

Ok, nevermind on this (at least the FF issue). It seems that having Firebug open in its "in-browser" mode was causing the problems. However, I still have a question on how to position the modal as I'd like it to center on the grid itself. It looks like default is bottom of the page/browser window. Thanks,

Phil

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
45 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information