Commit 49ae9a424330288a8e99735ba118e660a555c00f

Authored by Leonardo Merlin
1 parent 6f5f001e

remove deprecated code

src/app/pages/propostas/propostas.controller.js
@@ -67,12 +67,6 @@ @@ -67,12 +67,6 @@
67 vm.themes = themes; 67 vm.themes = themes;
68 vm.loadingThemes = false; 68 vm.loadingThemes = false;
69 vm.loading = false; 69 vm.loading = false;
70 -  
71 - // REMOVED: function called twice.  
72 - // vm.loadProposals(function() {  
73 - // vm.attachListeners();  
74 - // });  
75 - // vm.attachListeners();  
76 70
77 vm.filter(); 71 vm.filter();
78 }, function(error) { 72 }, function(error) {
@@ -189,8 +183,6 @@ @@ -189,8 +183,6 @@
189 PropostasPageController.prototype.submitSearch = function() { 183 PropostasPageController.prototype.submitSearch = function() {
190 var vm = this; 184 var vm = this;
191 185
192 - // vm.loadingFilter = true;  
193 -  
194 // scroll to result grid 186 // scroll to result grid
195 var $searchResult = angular.element('#search-result'); 187 var $searchResult = angular.element('#search-result');
196 if ($searchResult && $searchResult.length > 0) { 188 if ($searchResult && $searchResult.length > 0) {