got rid of extraneous parentheses
parent
ad5ffb64e8
commit
597870132c
|
@ -466,7 +466,7 @@ var AppRouter = Backbone.Router.extend({
|
||||||
newClient:function() {
|
newClient:function() {
|
||||||
|
|
||||||
if (!isAdmin()) {
|
if (!isAdmin()) {
|
||||||
this.root()();
|
this.root();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -497,7 +497,7 @@ var AppRouter = Backbone.Router.extend({
|
||||||
editClient:function(id) {
|
editClient:function(id) {
|
||||||
|
|
||||||
if (!isAdmin()) {
|
if (!isAdmin()) {
|
||||||
this.root()();
|
this.root();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -536,7 +536,7 @@ var AppRouter = Backbone.Router.extend({
|
||||||
whiteList:function () {
|
whiteList:function () {
|
||||||
|
|
||||||
if (!isAdmin()) {
|
if (!isAdmin()) {
|
||||||
this.root()();
|
this.root();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -555,7 +555,7 @@ var AppRouter = Backbone.Router.extend({
|
||||||
newWhitelist:function(cid) {
|
newWhitelist:function(cid) {
|
||||||
|
|
||||||
if (!isAdmin()) {
|
if (!isAdmin()) {
|
||||||
this.root()();
|
this.root();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -590,7 +590,7 @@ var AppRouter = Backbone.Router.extend({
|
||||||
editWhitelist:function(id) {
|
editWhitelist:function(id) {
|
||||||
|
|
||||||
if (!isAdmin()) {
|
if (!isAdmin()) {
|
||||||
this.root()();
|
this.root();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -669,7 +669,7 @@ var AppRouter = Backbone.Router.extend({
|
||||||
blackList:function() {
|
blackList:function() {
|
||||||
|
|
||||||
if (!isAdmin()) {
|
if (!isAdmin()) {
|
||||||
this.root()();
|
this.root();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -693,7 +693,7 @@ var AppRouter = Backbone.Router.extend({
|
||||||
siteScope:function() {
|
siteScope:function() {
|
||||||
|
|
||||||
if (!isAdmin()) {
|
if (!isAdmin()) {
|
||||||
this.root()();
|
this.root();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -712,7 +712,7 @@ var AppRouter = Backbone.Router.extend({
|
||||||
newScope:function() {
|
newScope:function() {
|
||||||
|
|
||||||
if (!isAdmin()) {
|
if (!isAdmin()) {
|
||||||
this.root()();
|
this.root();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -734,7 +734,7 @@ var AppRouter = Backbone.Router.extend({
|
||||||
editScope:function(sid) {
|
editScope:function(sid) {
|
||||||
|
|
||||||
if (!isAdmin()) {
|
if (!isAdmin()) {
|
||||||
this.root()();
|
this.root();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue