dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37563
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19187: User details fix, disabled
------------------------------------------------------------
revno: 19187
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-05-26 17:54:58 -0400
message:
User details fix, disabled
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/javascript/user.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-user/src/main/webapp/dhis-web-maintenance-user/javascript/user.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/javascript/user.js 2015-03-18 18:51:30 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/javascript/user.js 2015-05-26 21:54:58 +0000
@@ -72,7 +72,7 @@
setInnerHTML('createdField', created ? created : '[' + i18n_none + ']');
var disabled = json.user.disabled;
- setInnerHTML('disabledField', disabled ? i18n_yes : i18n_no);
+ setInnerHTML('disabledField', disabled == "true" ? i18n_yes : i18n_no);
var organisationUnits = joinNameableObjects(json.user.organisationUnits);
setInnerHTML('assignedOrgunitField', organisationUnits ? organisationUnits : '[' + i18n_none + ']');