projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't run async.spec.js by default
[mkws-moved-to-github.git]
/
src
/
mkws-popup.js
diff --git
a/src/mkws-popup.js
b/src/mkws-popup.js
index
ee26049
..
7cc3792
100644
(file)
--- a/
src/mkws-popup.js
+++ b/
src/mkws-popup.js
@@
-6,11
+6,11
@@
// $(document).ready(function () {
mkws.registerWidgetType('popup', function() {
var $ = mkws.$;
// $(document).ready(function () {
mkws.registerWidgetType('popup', function() {
var $ = mkws.$;
- var debug = mkws.log;
+ var debug = this.log;
debug("init popup window");
var popup_window = $(this.node);
debug("init popup window");
var popup_window = $(this.node);
- // var popup_window = $(".mkws-popup"); // $(document).ready()
+ // var popup_window = $(".mkws-popup mkwsPopup"); // $(document).ready()
if (!popup_window) {
debug("no popup found, skip...");
return;
if (!popup_window) {
debug("no popup found, skip...");
return;
@@
-49,7
+49,7
@@
mkws.registerWidgetType('popup', function() {
close: function() {}
});
close: function() {}
});
- // open at search query submit: "input.mkws-button"
+ // open at search query submit: "input.mkws-button mkwsButton"
var id_botton = that.attr("popup_button");
if (id_botton) {
$(id_botton).button().click(function() {
var id_botton = that.attr("popup_button");
if (id_botton) {
$(id_botton).button().click(function() {