Skip to content

Commit

Permalink
BUGFIX Backing out changes from yesterday, until the secu branch is m…
Browse files Browse the repository at this point in the history
…erged
  • Loading branch information
redking committed Oct 16, 2012
1 parent 25accfd commit afd7b47
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions spec/javascripts/specs/core/conf/remote-webapp.js
Expand Up @@ -29,10 +29,12 @@
env : 'jQuery',
jsVersion : VNS.context.scriptsVersion,
authCallback : function() {
if(!tns.ajaxBox) {
tns.ajaxBox = new VNS.util.SecureLoginModalBox();
}
tns.ajaxBox.show();
tns.ajaxBox = new VNS.util.AjaxPopupBox(
'/r/account/authentication/', {
callback : 'tns.currentRequest',
allowEscape : false,
popupVar : 'tns.ajaxBox'
});
},
currentRequestCallback : function() {
if (tns.ajaxBox) {
Expand Down
10 changes: 6 additions & 4 deletions spec/javascripts/specs/core/conf/viadeo-webapp.js
Expand Up @@ -29,10 +29,12 @@
env : 'jQuery',
jsVersion : VNS.context.scriptsVersion,
authCallback : function() {
if(!tns.ajaxBox) {
tns.ajaxBox = new VNS.util.SecureLoginModalBox();
}
tns.ajaxBox.show();
tns.ajaxBox = new VNS.util.AjaxPopupBox(
'/r/account/authentication/', {
callback : 'tns.currentRequest',
allowEscape : false,
popupVar : 'tns.ajaxBox'
});
},
currentRequestCallback : function() {
if (tns.ajaxBox) {
Expand Down

0 comments on commit afd7b47

Please sign in to comment.