Update navigation.js
favorite tables localStorage sync: avoid sending undefined objects or empty strings via ajax #2
This commit is contained in:
parent
e94d2a9a7f
commit
94698de080
@ -487,7 +487,7 @@ $(function () {
|
||||
cache: false,
|
||||
type: 'POST',
|
||||
data: {
|
||||
favorite_tables: (isStorageSupported('localStorage'))
|
||||
favorite_tables: (isStorageSupported('localStorage') && typeof window.localStorage.favorite_tables != 'undefined')
|
||||
? window.localStorage.favorite_tables
|
||||
: ''
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user