From: <df...@us...> - 2012-05-25 16:17:04
|
Revision: 4051 http://openutils.svn.sourceforge.net/openutils/?rev=4051&view=rev Author: dfghi Date: 2012-05-25 16:16:57 +0000 (Fri, 25 May 2012) Log Message: ----------- CONTROLS-48 Backport 4049: Disabled insert/remove icons when the add rows is disabled (it means the number of rows is fixed). Modified Paths: -------------- magnoliamodules/branches/magnolia44/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl Modified: magnoliamodules/branches/magnolia44/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl =================================================================== --- magnoliamodules/branches/magnolia44/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2012-05-25 15:48:50 UTC (rev 4050) +++ magnoliamodules/branches/magnolia44/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2012-05-25 16:16:57 UTC (rev 4051) @@ -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. |