dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #43467
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22038: bug fix in disabling longtext data elements when dataset is locked
------------------------------------------------------------
revno: 22038
committer: Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2016-02-24 17:23:52 +0100
message:
bug fix in disabling longtext data elements when dataset is locked
modified:
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/style/dhis-web-dataentry.css
--
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-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2016-02-15 07:26:15 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2016-02-24 16:23:52 +0000
@@ -1619,6 +1619,7 @@
if ( json.locked )
{
$( '#contentDiv input').attr( 'readonly', 'readonly' );
+ $( '#contentDiv textarea').attr( 'readonly', 'readonly' );
$( '.sectionFilter').removeAttr( 'disabled' );
$( '#completenessDiv' ).hide();
setHeaderDelayMessage( i18n_dataset_is_locked );
=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/style/dhis-web-dataentry.css'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/style/dhis-web-dataentry.css 2015-12-10 11:07:47 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/style/dhis-web-dataentry.css 2016-02-24 16:23:52 +0000
@@ -171,6 +171,11 @@
padding-left: 3px;
}
+textarea:read-only
+{
+ background-color: rgb(238, 238, 238) !important;
+}
+
/* jQuery UI tab style overrides for data value history view */
#historyTabs