Index: branches/5.0.x/core/admin_templates/regional/phrases_edit.tpl =================================================================== diff -u -r12117 -r12298 --- branches/5.0.x/core/admin_templates/regional/phrases_edit.tpl (.../phrases_edit.tpl) (revision 12117) +++ branches/5.0.x/core/admin_templates/regional/phrases_edit.tpl (.../phrases_edit.tpl) (revision 12298) @@ -1,5 +1,4 @@ - @@ -14,10 +13,20 @@ submit_event('phrases',''); } ) ); - a_toolbar.AddButton( new ToolBarButton('cancel', '', function() { - submit_event('phrases','OnCancel'); + + a_toolbar.AddButton( + new ToolBarButton( + 'cancel', + '', + function() { + + window_close(); + + cancel_edit('phrases', 'OnCancelEdit', '', ''); + } - ) ); + ) + ); a_toolbar.AddButton( new ToolBarButton('reset_edit', '', function() { reset_form('phrases', 'OnReset', ''); @@ -51,33 +60,46 @@ -
- - "> - - - - + + - - - - - + + + - - - + + + - - - + + + + + + + + - + + + + + + + + + + + + + +
+
+ - +