Add logging for popup.
[mkws-moved-to-github.git] / tools / htdocs / mkws-jquery.js
index 225b562..55cad95 100644 (file)
@@ -31,6 +31,7 @@ function _mkws_jquery_plugin ($) {
            return;
        }
 
+       debug("Calling dialog()");
        $(id_popup).dialog({
            closeOnEscape: true,
            autoOpen: false,
@@ -45,10 +46,12 @@ function _mkws_jquery_plugin ($) {
            },
            close: function() { }
        });
+       debug("Called dialog()");
 
        $(id_button)
            .button()
            .click(function() {
+               debug("Opening dialog()");
                $(id_popup).dialog("open");
            });
     };