lib/rhoconnect/web-console/views/home.js in rhoconnect-3.4.5 vs lib/rhoconnect/web-console/views/home.js in rhoconnect-4.0.0.beta.10
- old
+ new
@@ -7,22 +7,22 @@
"click #api_btn" : "toggle_api_token"
},
initialize: function() {
var domain = $('input#domain').val();
- this.model.get_license_info();
+ this.model.get_license_info();
this.model.set('partition_type','app')
- this.model.fetch({
- error: function(model,resp)
- {
- if(resp.status == 422){
+ this.model.fetch({
+ error: function(model,resp)
+ {
+ if(resp.status == 422){
new App.Views.Index()
+ }
}
- }
- });
- this.render(domain);
- this.options.model2.get_adapter();
+ });
+ this.render(domain);
+ this.options.model2.get_adapter();
},
reset: function(){
var session = new Session();
if(confirm("Are you sure you want to reset?")){
@@ -99,10 +99,10 @@
out += "</th></tr></thead>"
out += "</table></div>"
out += "<table class='table table-bordered'>";
out += "<tr><td><p style='margin-top:10px'>Sync Server</p></td>";
- out += "<td><p style='margin-top:10px'><code style='margin:0'>http://"+domain+"</code></p></td>";
+ out += "<td><p style='margin-top:10px'><code style='margin:0'>"+domain+"</code></p></td>";
out += "<td><p style='margin-top:10px'>Paste this url into your client app configuration to sync with this RhoConnect instance.</p></td>"
out += "<form>"
out += "<tr>"
out += "<td width='20%'><p style='margin-top:10px'>Change Admin Password</p></td>"
out += "<td width='40%'><p style='margin-top:10px'><input id='password2' type='password' name='password' value='' class='input-xlarge' placeholder='Enter new password' style='margin:0'/>"