Add logging for popup.
authorMike Taylor <mike@indexdata.com>
Thu, 13 Feb 2014 10:56:06 +0000 (10:56 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 13 Feb 2014 10:56:06 +0000 (10:56 +0000)
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");
            });
     };