From: <df...@us...> - 2012-05-25 15:47:08
|
Revision: 4049 http://openutils.svn.sourceforge.net/openutils/?rev=4049&view=rev Author: dfghi Date: 2012-05-25 15:47:01 +0000 (Fri, 25 May 2012) Log Message: ----------- CONTROLS-48 Disabled insert/remove icons when the add rows is disabled (it means the number of rows is fixed). Modified Paths: -------------- magnoliamodules/trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl Modified: magnoliamodules/trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl =================================================================== --- magnoliamodules/trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2012-05-21 09:16:37 UTC (rev 4048) +++ magnoliamodules/trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2012-05-25 15:47:01 UTC (rev 4049) @@ -303,7 +303,8 @@ iconCls: 'button-insert-row', handler: function() { gridInsertRow(grid, ${(!addRowsEnabled)?string}); - } + }, + disabled: ${(!addRowsEnabled)?string} }, { text: '', tooltip: 'Remove row', @@ -311,7 +312,8 @@ iconCls: 'button-remove-row', handler: function() { gridRemoveRow(grid, ${(!addRowsEnabled)?string}); - } + }, + disabled: ${(!addRowsEnabled)?string} }], [#if (configuration.height??)] height: ${configuration.height}, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |