From 6e26c093fa85b889ef4b520c8cfb5c6ce14ab206 Mon Sep 17 00:00:00 2001 From: yuri Date: Fri, 9 Jan 2015 11:42:35 +0200 Subject: [PATCH] remove trailing spaces --- frontend/client/src/views/detail.js | 54 ++++++++++++++--------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/frontend/client/src/views/detail.js b/frontend/client/src/views/detail.js index 6faf16aa24..c87774b8c9 100644 --- a/frontend/client/src/views/detail.js +++ b/frontend/client/src/views/detail.js @@ -30,7 +30,7 @@ Espo.define('Views.Detail', 'Views.Main', function (Dep) { scope: null, name: 'Detail', - + optionsToPass: [], views: { @@ -43,7 +43,7 @@ Espo.define('Views.Detail', 'Views.Main', function (Dep) { selector: '> .body', } }, - + addUnfollowButtonToMenu: function () { this.menu.buttons.unshift({ name: 'unfollow', @@ -51,7 +51,7 @@ Espo.define('Views.Detail', 'Views.Main', function (Dep) { style: 'success', action: 'unfollow' }); - + var index = -1; this.menu.buttons.forEach(function (data, i) { if (data.name == 'follow') { @@ -63,7 +63,7 @@ Espo.define('Views.Detail', 'Views.Main', function (Dep) { this.menu.buttons.splice(index, 1); } }, - + addFollowButtonToMenu: function () { this.menu.buttons.unshift({ name: 'follow', @@ -72,7 +72,7 @@ Espo.define('Views.Detail', 'Views.Main', function (Dep) { icon: 'glyphicon glyphicon-share-alt', action: 'follow' }); - + var index = -1; this.menu.buttons.forEach(function (data, i) { if (data.name == 'unfollow') { @@ -84,10 +84,10 @@ Espo.define('Views.Detail', 'Views.Main', function (Dep) { this.menu.buttons.splice(index, 1); } }, - + setup: function () { Dep.prototype.setup.call(this); - + if (this.getMetadata().get('scopes.' + this.scope + '.stream')) { if (this.model.has('isFollowed')) { if (this.model.get('isFollowed')) { @@ -104,10 +104,10 @@ Espo.define('Views.Detail', 'Views.Main', function (Dep) { } else { this.addFollowButton(); this.addFollowButtonToMenu(); - + } }.bind(this); - + if (this.model.has('isFollowed')) { proceed(); } else { @@ -122,21 +122,21 @@ Espo.define('Views.Detail', 'Views.Main', function (Dep) { } } }, - + addFollowButton: function () { $el = $('