Skip to content

Commit

Permalink
Fix bug where the #signup view was not working for the default and KNB
Browse files Browse the repository at this point in the history
themes
  • Loading branch information
laurenwalker committed Oct 18, 2017
1 parent da756f4 commit 4ca1eac
Show file tree
Hide file tree
Showing 6 changed files with 474 additions and 6 deletions.
4 changes: 2 additions & 2 deletions metacatui/src/main/webapp/js/models/AppModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ define(['jquery', 'underscore', 'backbone'],
queryServiceUrl: null,
metaServiceUrl: null,
registryServiceUrl: null,
//ldapwebServiceUrl: null,
ldapwebServiceUrl: null,
metacatBaseUrl: null,
metacatServiceUrl: null,
objectServiceUrl: null,
Expand Down Expand Up @@ -98,7 +98,7 @@ define(['jquery', 'underscore', 'backbone'],
this.set('metaServiceUrl', this.get('baseUrl') + this.get('context') + this.get('d1Service') + '/meta/');
this.set('objectServiceUrl', this.get('baseUrl') + this.get('context') + this.get('d1Service') + '/object/');
this.set('registryServiceUrl', this.get('baseUrl') + this.get('context') + '/cgi-bin/register-dataset.cgi');
//this.set('ldapwebServiceUrl', this.get('baseUrl') + this.get('context') + '/cgi-bin/ldapweb.cgi');
this.set('ldapwebServiceUrl', this.get('baseUrl') + this.get('context') + '/cgi-bin/ldapweb.cgi');
this.set('metacatServiceUrl', this.get('baseUrl') + this.get('context') + '/metacat');

//Add a ? character to the end of the Solr queries when we are appending JSONP parameters (which use ?'s)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ function ($, _, Backbone) {

if(!appView.signInView){
require(['views/SignInView'], function(SignInView){
appView.signInView = new SignInView({ el: "#Content"});
appView.signInView = new SignInView({ el: "#Content", fullPage: true });
appView.showView(appView.signInView);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function ($, _, Backbone) {

if(!appView.signInView){
require(["views/SignInView"], function(SignInView){
appView.signInView = new SignInView({ el: "#Content"});
appView.signInView = new SignInView({ el: "#Content", fullPage: true });
appView.showView(appView.signInView);
});
}
Expand Down
2 changes: 1 addition & 1 deletion metacatui/src/main/webapp/js/themes/knb/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var themeMap =

// Resources (js) omit extension
//'views/AboutView' : 'themes/' + theme + '/views/AboutView',
//'routers/router' : 'themes/' + theme + '/routers/router',
'routers/router' : 'themes/' + theme + '/routers/router',
'models/AppModel' : 'themes/' + theme + '/models/AppModel',

// Templates include extension
Expand Down
Loading

0 comments on commit 4ca1eac

Please sign in to comment.