Commit 3206350c authored by Sven Franck's avatar Sven Franck

app: move enhanceWithin() so I can bind to enhanced widgets

parent 6637bc28
......@@ -5412,6 +5412,8 @@
app.setGlobalBindings = function () {
$(document)
.enhanceWithin()
// generate dynamic pages
.on("pagebeforechange", function (e, data) {
app.parsePage(e, data)
......@@ -5480,8 +5482,6 @@
factory.util.generateDynamicContents(app.parseAction(e));
});
$(document).enhanceWithin();
// remove focus from active elements on key-tab switches
window.onblur = function () {
document.activeElement.blur();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment