From f2bd65cae38d922005de31040be16af2d31c9176 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 5 Feb 2013 09:42:20 +0000 Subject: [PATCH] Add forgot popup notification to Users JavaScript application --- .../users/collection_views/threads_collection.js | 5 +++-- src/messenger/webim/js/compiled/users_app.js | 5 +++-- .../source/users/collection_views/threads_collection.js | 9 +++++++++ src/messenger/webim/view/pending_users.php | 1 + 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/messenger/webim/js/compiled/users/collection_views/threads_collection.js b/src/messenger/webim/js/compiled/users/collection_views/threads_collection.js index f929db60..5eaf6d1c 100644 --- a/src/messenger/webim/js/compiled/users/collection_views/threads_collection.js +++ b/src/messenger/webim/js/compiled/users/collection_views/threads_collection.js @@ -7,5 +7,6 @@ */ (function(d,h,j,k){d.Views.ThreadsCollection=h.Marionette.CompositeView.extend({template:j.templates.threads_collection,itemView:d.Views.QueuedThread,itemViewContainer:"#threads-container",emptyView:d.Views.NoThreads,className:"threads-collection",collectionEvents:{sort:"renderCollection","sort:field":"createSortField",add:"threadAdded"},itemViewOptions:function(a){return{tagName:d.Objects.Models.page.get("threadTag"),collection:a.get("controls")}},initialize:function(){window.setInterval(k.bind(this.renderCollection, this),2E3);this.on("itemview:before:render",this.updateStyles,this)},updateStyles:function(a){var b=this.collection,c=a.model,d=this;if(c.id){var e=this.getQueueCode(c),f=!1,g=!1,b=b.filter(function(a){return d.getQueueCode(a)==e});0, showVisitors: , + showPopup: , threadTag: "", visitorTag: "",