------------------------------------------------------------
revno: 12899
committer: Lars Helge Ă˜verland <larshe...@gmail.com>
branch nick: dhis2
timestamp: Thu 2013-11-07 18:24:50 +0100
message:
  Case entry, fixed issue with javascript variable having same name as function
modified:
  
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.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	2013-10-24 08:31:35 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js	2013-11-07 17:24:50 +0000
@@ -867,8 +867,8 @@
         }
 
         if ( data.program.type == '1' && data.programInstance.status == '1' ) {
-            var blockEntryForm = getFieldValue('blockEntryForm');
-            if( blockEntryForm == 'true' ){
+            var blockEntry = getFieldValue('blockEntryForm');
+            if( blockEntry == 'true' ){
                 blockEntryForm();
             }
         }

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to