summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTrent Richardson <trentdrichardson@gmail.com>2014-11-17 10:57:57 -0500
committerTrent Richardson <trentdrichardson@gmail.com>2014-11-17 10:57:57 -0500
commit331c5aa116091e5044aafcb28a89923fe853b3d7 (patch)
tree4127715cea62f827e033c0db9ab1413b2e940b23 /src
parent00d3334f94708e268ba1be3482bb3cba0e7f8cda (diff)
downloadjQuery-Impromptu-331c5aa116091e5044aafcb28a89923fe853b3d7.zip
jQuery-Impromptu-331c5aa116091e5044aafcb28a89923fe853b3d7.tar.gz
jQuery-Impromptu-331c5aa116091e5044aafcb28a89923fe853b3d7.tar.bz2
#47 adds implementation for callCallback for jQuery.prompt.close to src
Diffstat (limited to 'src')
-rw-r--r--src/jquery-impromptu.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jquery-impromptu.js b/src/jquery-impromptu.js
index 2f0aaa0..ab1397e 100644
--- a/src/jquery-impromptu.js
+++ b/src/jquery-impromptu.js
@@ -699,6 +699,10 @@
imp.jqib.remove();
$(window).off('resize',imp.position);
+
+ if(typeof callCallback === 'function'){
+ callCallback();
+ }
});
}
imp.currentStateName = "";