dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #29458
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14886: minor fix
------------------------------------------------------------
revno: 14886
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-04-17 19:15:59 +0700
message:
minor fix
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/updateAttributeForm.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-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/updateAttributeForm.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/updateAttributeForm.js 2014-04-12 11:34:06 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/updateAttributeForm.js 2014-04-17 12:15:59 +0000
@@ -6,8 +6,10 @@
checkValueIsExist( "name", "validateAttribute.action", {id:getFieldValue('id')});
checkValueIsExist( "shortName", "validateAttribute.action", {id:getFieldValue('id')});
checkValueIsExist( "code", "validateAttribute.action", {id:getFieldValue('id')});
-
+
$('#unique').on('click', function() {
$("[name='localIdField']").toggle();
});
-});
\ No newline at end of file
+
+ $('#unique').trigger('click');
+});
\ No newline at end of file