git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4730 a333f486-631f-4898-b8df-5754b55c2be0
@@ -515,7 +515,7 @@ class ObjectController extends AbstractController
}
// Hiding submit button or changing its label if necessary
- if($aFormProperties['properties']['always_show_submit'] === false)
+ if($aFormProperties['properties']['always_show_submit'] === false && !empty($aFormData['buttons']['transitions']))
{
unset($aFormData['buttons']['submit']);
@@ -863,6 +863,7 @@ class ApplicationHelper
case 'always_show_submit':
$aFormProperties['always_show_submit'] = ($oPropertyNode->GetText('false') === 'true') ? true : false;
+ break;