[Fusionforge-commits] r15663 - branches/Branch_5_2/src/www/docman/scripts

Franck VILLAUME nerville at fusionforge.org
Sun Jun 3 20:06:12 CEST 2012


Author: nerville
Date: 2012-06-03 20:06:11 +0200 (Sun, 03 Jun 2012)
New Revision: 15663

Modified:
   branches/Branch_5_2/src/www/docman/scripts/DocManController.js
Log:
fix disable editor when edit online not used

Modified: branches/Branch_5_2/src/www/docman/scripts/DocManController.js
===================================================================
--- branches/Branch_5_2/src/www/docman/scripts/DocManController.js	2012-06-03 17:44:48 UTC (rev 15662)
+++ branches/Branch_5_2/src/www/docman/scripts/DocManController.js	2012-06-03 18:06:11 UTC (rev 15663)
@@ -187,6 +187,7 @@
 		}
 		if (!this.docparams.useCreateOnline || !this.docparams.isText) {
 			jQuery('#editonlineroweditfile').hide();
+			jQuery('#editor').attr('disabled', true);
 		}
 		jQuery('#filelink').text(this.docparams.filename);
 		if (this.docparams.statusId != 2) {




More information about the Fusionforge-commits mailing list