Skip to content

Instantly share code, notes, and snippets.

@EveraldoReis
Created April 14, 2015 20:58
Show Gist options
  • Save EveraldoReis/27f1cddf94dce8122401 to your computer and use it in GitHub Desktop.
Save EveraldoReis/27f1cddf94dce8122401 to your computer and use it in GitHub Desktop.

Revisions

  1. EveraldoReis created this gist Apr 14, 2015.
    8 changes: 8 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    // administrator/components/com_sigpro/js/script.js:55

    if ( typeof submitform === 'undefined') {
    $sig('#adminForm').find('input[name=task]').val(pressbutton);
    $sig('#adminForm').submit();
    }else{
    submitform(pressbutton);
    }