Forum
07:20
23/08/2013
Dear All:
I am useing jqgrid-4.4.1 and I found Firefox/Chrome didn't completely load Modules.
There are some errors in the console.When I clicked custimized Add button,it didn't work.
In IE and Safari it's OK.Here is the error detail.
-------------------------------------------------------------------------------------------------------------------------------------
Firefox errors:
[13:06:39.063] uncaught exception: jqGrid - No such method: GridUnload[13:06:38.694] TypeError: $.jgrid.extend is not a function @ plugins/jqgrid-4.4.1/js/grid.custom.js:801[13:06:38.690] TypeError: $.jgrid.extend is not a function @ plugins/jqgrid-4.4.1/js/grid.grouping.js:369[13:06:38.687] TypeError: $.jgrid.extend is not a function @ plugins/jqgrid-4.4.1/js/grid.treegrid.js:555[13:06:38.684] TypeError: $.jgrid.extend is not a function @ plugins/jqgrid-4.4.1/js/grid.formedit.js:2097[13:06:38.677] TypeError: $.jgrid.extend is not a function @ plugins/jqgrid-4.4.1/js/grid.subgrid.js:279[13:06:38.671] TypeError: $.jgrid.extend is not a function @ plugins/jqgrid-4.4.1/js/grid.inlinedit.js:604[13:06:38.669] TypeError: $.jgrid.extend is not a function @ plugins/jqgrid-4.4.1/js/grid.celledit.js:462
-------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------
Chrome errors:
Uncaught TypeError: Object #<Object> has no method 'extend' grid.custom.js:16Uncaught TypeError: Object #<Object> has no method 'extend' grid.formedit.js:14Uncaught TypeError: Object #<Object> has no method 'extend' grid.grouping.js:28Uncaught TypeError: Object #<Object> has no method 'extend' grid.treegrid.js:14Uncaught TypeError: Object #<Object> has no method 'extend' grid.subgrid.js:13Uncaught TypeError: Object #<Object> has no method 'extend' grid.inlinedit.js:14Uncaught TypeError: Object #<Object> has no method 'extend' grid.celledit.js:33Uncaught TypeError: Object [object Object] has no method 'clearGridData'
-------------------------------------------------------------------------------------------------------------------------------------
I fonud this artical.
/blog/?page_id=393/bugs/jqgrid-3-7-2-bug-with-ie8-while-using-jqgrid-debugging/#p21510
And I changed the section in jquery.jqGrid.js as below.It works good.
So I want to confirm that is this a bug.
Before Change:
var filename;
for(var i=0;i<modules.length; i++)
{
if(modules[i].include === true) {
filename = pathtojsfiles+modules[i].incfile;
if(jQuery.browser.safari) {
jQuery.ajax({url:filename,dataType:'script', async:false, cache: true});
} else {
if (jQuery.browser.msie) {
document.write('<script charset="utf-8" type="text/javascript" src="'+filename+'"></script>');
} else {
IncludeJavaScript(filename);
}
}
}
}
After Change:
var filename;
for(var i=0;i<modules.length; i++)
{
if(modules[i].include === true) {
filename = pathtojsfiles+modules[i].incfile;
if(jQuery.browser.safari) {
jQuery.ajax({url:filename,dataType:'script', async:false, cache: true});
} else {
if (jQuery.browser.msie) {
document.write('<script charset="utf-8" type="text/javascript" src="'+filename+'"></script>');
} else {
//IncludeJavaScript(filename);
document.writeln("<script type='text/javascript' src='"+filename+"'></script>");
}
}
}
}
Best Regard,
Bin Wang
07:21
23/08/2013
Here is the artical.(Sorry I don't know how to post the link.)
jqGrid 3.7.2 bug with IE8 while using jqGrid debugging
/blog/?page_id=393/bugs/jqgrid-3-7-2-bug-with-ie8-while-using-jqgrid-debugging/#p21510
Most Users Ever Online: 715
Currently Online:
44 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66