Skip to content

Commit

Permalink
Fixed tab_override in custom workflows plug-in
Browse files Browse the repository at this point in the history
  • Loading branch information
anteo committed Oct 24, 2012
1 parent f2fbce3 commit 9715ea5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/custom_workflows/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
</fieldset>

<script type="text/javascript">
jQuery('#custom_workflow_script').taboverride(2, true);
jQuery('#custom_workflow_before_save').taboverride(2, true);
jQuery('#custom_workflow_after_save').taboverride(2, true);
function checkAndDisable(id, checked) {
if (checked) {
jQuery('#'+id).find('input[type=checkbox]').attr('checked', true).attr('disabled', true);
Expand Down

0 comments on commit 9715ea5

Please sign in to comment.