summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorDavide Saurino <davide.saurino@alcacoop.it>2013-11-16 12:53:10 +0100
committerDavide Saurino <davide.saurino@alcacoop.it>2013-11-16 12:53:10 +0100
commitccfa661880fdfbf36853c2948cd4e5b1f2e32165 (patch)
tree831466aa2c4f6ddd1ff8f4e0b1bae66f163f3d96 /js
parent260beb6b12b8955fbc1e4bf1a4494a51851a819c (diff)
app.js updated
Diffstat (limited to 'js')
-rw-r--r--js/public/app.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/public/app.js b/js/public/app.js
index caa3aec7c..614e497c1 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -1107,6 +1107,20 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
return this._persistence.deleteFeed(feedId);
};
+ FeedBusinessLayer.prototype.renameFeedSet = function(feedId) {
+ var feed;
+ feed = this._feedModel.getById(feedId);
+ feed.titleOrig = feed.title;
+ return feed.editing = true;
+ };
+
+ FeedBusinessLayer.prototype.renameFeedUnset = function(feedId) {
+ var feed;
+ feed = this._feedModel.getById(feedId);
+ feed.title = feed.titleOrig;
+ return feed.editing = false;
+ };
+
FeedBusinessLayer.prototype.renameFeed = function(feedId, feedTitle) {
var feed;
feed = this._feedModel.getById(feedId);