Skip to content

Commit

Permalink
Add spacer gif for old IE-s.
Browse files Browse the repository at this point in the history
For IE8+ and other browsers the ExtJS 4 framework supplies a data-uri,
but for IE 6 and 7 it defaults to an URL pointing to sencha.com,
which will cause problems when offline.

Refs #511
  • Loading branch information
nene committed Dec 10, 2013
1 parent 1190666 commit c3b585c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions template/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ Ext.Loader.setConfig({
}
});

// Avoid downloading spacer gif from sencha.com in older IE-s.
if (Ext.isIE6 || Ext.isIE7) {
Ext.BLANK_IMAGE_URL = 'resources/images/s.gif';
}

Ext.require('Ext.form.field.Trigger');
Ext.require('Ext.tab.Panel');
Ext.require('Ext.grid.column.Action');
Expand Down
Binary file added template/resources/images/s.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c3b585c

Please sign in to comment.