projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7682b8d
)
Roo/state/Provider.js
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:45:19 +0000
(17:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:45:19 +0000
(17:45 +0800)
Roo/state/Provider.js
patch
|
blob
|
history
diff --git
a/Roo/state/Provider.js
b/Roo/state/Provider.js
index
cab2afd
..
60791e4
100644
(file)
--- a/
Roo/state/Provider.js
+++ b/
Roo/state/Provider.js
@@
-68,7
+68,9
@@
Roo.extend(Roo.state.Provider, Roo.util.Observable, {
decodeValue : function(cookie){
var re = /^(a|n|d|b|s|o)\:(.*)$/;
var matches = re.exec(unescape(cookie));
- if(!matches || !matches[1]) return; // non state cookie
+ if(!matches || !matches[1]) {
+ return; // non state cookie
+ }
var type = matches[1];
var v = matches[2];
switch(type){