[CallLog] updated CallLog sources
authorPiotr Dabrowski <p.dabrowski2@samsung.com>
Fri, 27 Sep 2013 11:25:26 +0000 (13:25 +0200)
committerPiotr Dabrowski <p.dabrowski2@samsung.com>
Fri, 27 Sep 2013 11:25:26 +0000 (13:25 +0200)
Change-Id: I98374a7bc374281fc901235a8a765c74fe1c11a2

js/app.ui.js

index 4888f51..e104a01 100644 (file)
@@ -624,7 +624,6 @@ function Ui(contacts) {
                        // change to remove mode if it was active before registering call
                        if (this.removeMode) {
                                this.removeMode = !this.removeMode;
-                               this.setSelectAllDetails();
                                this.changeDetailsToRemoveState();
                                // check previous checked entries
                                this.checkedLogs.forEach(function(logUid){
@@ -639,6 +638,8 @@ function Ui(contacts) {
                                        }
                                });
 
+                               this.setSelectAllDetails();
+
                                // close popup if there are no checked checkboxes
                                if (!$("#forCallerList input:checked").length) {
                                        if ($.mobile.popup.active) {