← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20704: Fixed bug where switching org unit, deleting a file entry and switching back again caused fileinf...

 

------------------------------------------------------------
revno: 20704
committer: Halvdan Hoem Grelland <halvdanhg@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-10-15 00:01:58 +0200
message:
  Fixed bug where switching org unit, deleting a file entry and switching back again caused fileinfo to not be displayed
modified:
  dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.fileresource.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-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.fileresource.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.fileresource.js	2015-10-14 11:46:39 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.fileresource.js	2015-10-14 22:01:58 +0000
@@ -45,7 +45,6 @@
                 success: function() {
                     $fileinfoName.text( '' );
                     $fileinfoSize.text( '' );
-                    $fileinfo.hide();
                     $displayField.css( 'background-color', '' );
                     $field.val( '' );
                     setButtonUpload();