dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #30537
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15498: Minor fix
------------------------------------------------------------
revno: 15498
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2014-06-01 21:44:41 +0800
message:
Minor fix
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/caseaggregation.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-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js 2014-05-29 15:38:38 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js 2014-06-01 13:44:41 +0000
@@ -1225,7 +1225,7 @@
$( this ).val( "" );
if(!unSave)
saveVal( dataElementUid );
- input.data( "autocomplete" ).term = "";
+ input.data( "uiAutocomplete" ).term = "";
return false;
}
}
@@ -1233,7 +1233,7 @@
})
.addClass( "ui-widget" );
- input.data( "autocomplete" )._renderItem = function( ul, item ) {
+ input.data( "uiAutocomplete" )._renderItem = function( ul, item ) {
return $( "<li></li>" )
.data( "item.autocomplete", item )
.append( "<a>" + item.label + "</a>" )
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/caseaggregation.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/caseaggregation.js 2014-03-25 07:10:25 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/caseaggregation.js 2014-06-01 13:44:41 +0000
@@ -57,14 +57,14 @@
// remove invalid value, as it didn't match anything
$(this).val("");
select.val("");
- input.data("autocomplete").term = "";
+ input.data("uiAutocomplete").term = "";
return false;
}
}
}
}).addClass("ui-widget");
- input.data("autocomplete")._renderItem = function( ul, item ) {
+ input.data("uiAutocomplete")._renderItem = function( ul, item ) {
return $("<li></li>")
.data("item.autocomplete", item)
.append("<a>" + item.label + "</a>")