← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16040: in dhis2.selected plugin, remove disabling of search button for now, need a better way to revert ...

 

------------------------------------------------------------
revno: 16040
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-07-09 13:48:45 +0700
message:
  in dhis2.selected plugin, remove disabling of search button for now, need a better way to revert search filter
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.selected.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.selected.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.selected.js	2014-07-09 06:44:20 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.selected.js	2014-07-09 06:48:45 +0000
@@ -130,12 +130,6 @@
     },
     makeSearchHandler: function( context ) {
       return function( e ) {
-        if( $(this).val().length > 0 ) {
-            context.searchButton.removeAttr( 'disabled' );
-        } else {
-            context.searchButton.attr( 'disabled', true );
-        }
-
         if( e.keyCode == 13 ) {
           context.page = 1;
           context.like = $(this).val();