mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Correct missing quotes on storage removeItem
This commit is contained in:
parent
827c6240ae
commit
a69fe5a314
3 changed files with 4 additions and 3 deletions
|
|
@ -185,7 +185,8 @@
|
|||
;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defgeneric url-replace (clog-window replace-url)
|
||||
(:documentation "Replace browser url."))
|
||||
(:documentation "Replace browser url, ie a redirection and current URL not
|
||||
saved in session history and back button will not return to it."))
|
||||
|
||||
(defmethod url-replace ((obj clog-window) replace-url)
|
||||
(execute obj (format nil "replace('~A')" replace-url)))
|
||||
|
|
|
|||
|
|
@ -531,7 +531,7 @@ STORAGE-TYPE. (local = persistant or session)"))
|
|||
STORAGE-TYPE. (local = persistant or session)"))
|
||||
|
||||
(defmethod storage-remove ((obj clog-window) storage-type key-name)
|
||||
(execute obj (format nil "~(~a~)Storage.removeItem(~A)" storage-type key-name)))
|
||||
(execute obj (format nil "~(~a~)Storage.removeItem('~A')" storage-type key-name)))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;
|
||||
;; storage-element ;;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
The value of local storage persists in the browser cache even after the browser
|
||||
is closed. If you reset this page the session storage key will remain the same,
|
||||
but opening this page in another window or tab will be a new session. If the
|
||||
new window came from a click from this window, the session keys (on some
|
||||
new window came from a click from this window, the session keys (on some
|
||||
browsers are copied first to the new window, if you wish to persist data accross
|
||||
windows use local storage instead.</p>
|
||||
<br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue