We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 192c919 commit 13c2478Copy full SHA for 13c2478
htdocs/js/apps/UserList/userlist.js
@@ -293,6 +293,7 @@ $(function(){
293
"click button#add_more_button": "addStudent"
294
},
295
openDialog: function () { this.$el.dialog("open");},
296
+ closeDialog: function () {this.$el.dialog("close");},
297
template: _.template($("#add_student_man_dialog_content").html()),
298
render: function(){
299
var self = this;
@@ -305,7 +306,8 @@ $(function(){
305
306
_(this.users.models).each(function(user){
307
App.users.add(user);
308
console.log("Adding the following student: " + JSON.stringify(user))
- });
309
+ });
310
+ this.closeDialog();
311
312
313
appendRow: function(user){
0 commit comments