projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a09a5d
)
Roo/History.js
author
Alan Knowles
<alan@roojs.com>
Fri, 15 Apr 2016 07:24:07 +0000
(15:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 Apr 2016 07:24:07 +0000
(15:24 +0800)
Roo/History.js
patch
|
blob
|
history
diff --git
a/Roo/History.js
b/Roo/History.js
index
08986d7
..
97ecb6c
100644
(file)
--- a/
Roo/History.js
+++ b/
Roo/History.js
@@
-111,7
+111,7
@@
Roo.History = {
sessionStorage : false, // sessionStorage
intervalList : false, // array normally.
- enabled
;
+ enabled
: false,
// Initialise History
init : function(options){
@@
-134,6
+134,15
@@
Roo.History = {
if ( typeof this.initHtml4 !== 'undefined' ) {
this.initHtml4();
}
+
+ this.initEmulated();
+ /**
+ * History.enabled
+ * Is History enabled?
+ */
+ this.enabled = !this.emulated.pushState;
+
+
// Return true
return true;