Browse Source

Use notify dialog to catch non ok callback too.

pull/156/head
Simon Eisenmann 11 years ago
parent
commit
1deb430419
  1. 4
      static/js/services/rooms.js

4
static/js/services/rooms.js

@ -53,7 +53,9 @@ define([ @@ -53,7 +53,9 @@ define([
break;
case "room_join_requires_account":
console.log("Room join requires a logged in user.");
alertify.dialog.alert(translation._("Please sign in to create rooms."), function() {
alertify.dialog.notify("", translation._("Please sign in to create rooms."), function() {
rooms.joinDefault();
}, function() {
rooms.joinDefault();
});
break;

Loading…
Cancel
Save