summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/survey.html2
-rw-r--r--demos/user_manager.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/survey.html b/demos/survey.html
index 43ff180..ee4ae24 100644
--- a/demos/survey.html
+++ b/demos/survey.html
@@ -79,7 +79,7 @@
}
$.prompt(temp,{
- callback: function(e,v,m,f){
+ close: function(e,v,m,f){
var str = "You can now process with this given information:<br />";
$.each(f,function(i,obj){
str += i + " - <em>" + obj + "</em><br />";
diff --git a/demos/user_manager.html b/demos/user_manager.html
index 3f6d556..f9af4de 100644
--- a/demos/user_manager.html
+++ b/demos/user_manager.html
@@ -61,7 +61,7 @@
}
return flag;
},
- callback: function(e,v,m,f){
+ close: function(e,v,m,f){
if(v){
//Here is where you would do an ajax post to edit the user
@@ -90,7 +90,7 @@
$.prompt(txt,{
buttons:{Delete:true, Cancel:false},
- callback: function(e,v,m,f){
+ close: function(e,v,m,f){
if(v){
var uid = f.userid;