Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plugin_dbui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2pext
plugin_dbui
Commits
719c0684
Commit
719c0684
authored
8 years ago
by
LE GAC Renaud
Browse files
Options
Downloads
Patches
Plain Diff
Update app.js to remove warning related to ARIA.
parent
6b23ecf6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!36
Release 0.9.7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
static/app.js
+11
-8
11 additions, 8 deletions
static/app.js
with
11 additions
and
8 deletions
static/app.js
+
11
−
8
View file @
719c0684
...
...
@@ -7,12 +7,12 @@
Dbui
.
setDynamicLoading
(
Dbui
.
debug
);
// classes required by the script
Ext
.
require
(
'
Dbui.container.Viewport
'
);
Ext
.
require
(
'
Dbui.plugin.MathJax
'
);
Ext
.
require
(
'
Ext.direct.Manager
'
);
Ext
.
require
(
'
Ext.direct.RemotingProvider
'
);
Ext
.
require
(
'
Ext.EventManager
'
);
Ext
.
require
(
'
Ext.tip.QuickTipManager
'
);
Ext
.
require
(
"
Dbui.container.Viewport
"
);
Ext
.
require
(
"
Dbui.plugin.MathJax
"
);
Ext
.
require
(
"
Ext.direct.Manager
"
);
Ext
.
require
(
"
Ext.direct.RemotingProvider
"
);
Ext
.
require
(
"
Ext.EventManager
"
);
Ext
.
require
(
"
Ext.tip.QuickTipManager
"
);
Ext
.
onReady
(
function
(){
...
...
@@ -22,6 +22,9 @@ Ext.onReady(function(){
Ext
.
QuickTips
.
init
();
// Remove warning on ARIA compatibility
Ext
.
ariaWarn
=
Ext
.
emptyFn
;
// Expose the remote methods
Ext
.
direct
.
Manager
.
addProvider
(
Dbui
.
REMOTE_API
);
...
...
@@ -33,8 +36,8 @@ Ext.onReady(function(){
// NOTE: It should work when the browser is closed to.
// Not working with FireFox 17.0.8, web2py 2.4.5 and Ext JS 3.4.0.
// nor with Firefox 38, web2py 2.14.6, Ext JS 6.0.1
Ext
.
getWin
().
on
(
'
beforeunload
'
,
Dbui
.
closeUserSession
);
Ext
.
getWin
().
on
(
"
beforeunload
"
,
Dbui
.
closeUserSession
);
// Instantiate the application
app
=
Ext
.
create
(
'
Dbui.container.Viewport
'
,
Dbui
.
config
.
viewport
);
app
=
Ext
.
create
(
"
Dbui.container.Viewport
"
,
Dbui
.
config
.
viewport
);
});
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment