dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #26952
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13349: minor fix to dhisAjaxSelect, make sure that no other search exists before creating one
------------------------------------------------------------
revno: 13349
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-12-20 15:41:47 +0100
message:
minor fix to dhisAjaxSelect, make sure that no other search exists before creating one
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.dhisAjaxSelect.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/jQuery/jquery.dhisAjaxSelect.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.dhisAjaxSelect.js 2013-08-23 16:11:13 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.dhisAjaxSelect.js 2013-12-20 14:41:47 +0000
@@ -281,7 +281,8 @@
});
}
- var $filter_table = $("<table/>");
+ $('#selectSearchTable').remove();
+ var $filter_table = $("<table id='selectSearchTable' />");
$filter_table.css({
"padding" : "1px",