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)
|
(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)
|
(defmethod url-replace ((obj clog-window) replace-url)
|
||||||
(execute obj (format nil "replace('~A')" 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)"))
|
STORAGE-TYPE. (local = persistant or session)"))
|
||||||
|
|
||||||
(defmethod storage-remove ((obj clog-window) storage-type key-name)
|
(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 ;;
|
;; storage-element ;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue