mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 10:40:45 -08:00
Use direct DOM calls to make dialog methods work
This commit is contained in:
parent
5fcf8c7e06
commit
c1a6635251
1 changed files with 4 additions and 4 deletions
|
|
@ -307,12 +307,12 @@ firefox and dialog does not work at all on IE."))
|
|||
;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defgeneric show-dialog (clog-dialog &key modal)
|
||||
(:documentation "Close dialog."))
|
||||
(:documentation "Show dialog."))
|
||||
|
||||
(defmethod show-dialog ((obj clog-dialog) &key (modal nil))
|
||||
(if modal
|
||||
(jquery-execute obj (format nil "showModal()"))
|
||||
(jquery-execute obj (format nil "show()"))))
|
||||
(jquery-execute obj (format nil "get(0).showModal()"))
|
||||
(jquery-execute obj (format nil "get(0).show()"))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
;; close-dialog ;;
|
||||
|
|
@ -322,7 +322,7 @@ firefox and dialog does not work at all on IE."))
|
|||
(:documentation "Close dialog."))
|
||||
|
||||
(defmethod close-dialog ((obj clog-dialog))
|
||||
(jquery-execute obj (format nil "close()")))
|
||||
(jquery-execute obj (format nil "get(0).close()")))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Implementation - clog-hr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue