projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
595c919
)
documentation
author
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 10 Jul 2014 11:49:58 +0000
(11:49 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 10 Jul 2014 11:49:58 +0000
(11:49 +0000)
src/mkws-popup.js
patch
|
blob
|
history
diff --git
a/src/mkws-popup.js
b/src/mkws-popup.js
index
6282ceb
..
fd6153a
100644
(file)
--- a/
src/mkws-popup.js
+++ b/
src/mkws-popup.js
@@
-2,7
+2,8
@@
*
*/
-// "use strict";
+"use strict";
+
// $(document).ready(function () {
mkws.registerWidgetType('Popup', function() {
var $ = mkws.$;
@@
-14,9
+15,9
@@
mkws.registerWidgetType('Popup', function() {
return;
}
- // var popup_window = $(this.node); //
- var popup_window = $(".mkwsPopup");
-
+ var popup_window = $(this.node); // mkws.registerWidgetType('Popup',....)
+ // var popup_window = $(".mkwsPopup"); // $(document).ready()
+
if (!popup_window) {
debug("no popup found, skip");
return;