Form submit/escape hotkeys added.
[fa-stable.git] / sales / allocations / customer_allocate.php
index e8a5c5eced3130886f1f1042a37917f7520b7db3..b709c751f34a0166ebb8547310514c4a7794a016 100644 (file)
@@ -252,15 +252,15 @@ function edit_allocations_for_transaction($type, $trans_no)
 
                hidden('TotalNumberOfAllocs', $counter);
                submit_center_first('UpdateDisplay', _("Refresh"), _('Start again allocation of selected amount'), true);
-               submit('Process', _("Process"), true, _('Process allocations'), true);
-               submit_center_last('Cancel', _("Back to Allocations"),_('Abandon allocations and return to selection of allocatable amounts'), true);
+               submit('Process', _("Process"), true, _('Process allocations'), 'default');
+               submit_center_last('Cancel', _("Back to Allocations"),_('Abandon allocations and return to selection of allocatable amounts'), 'cancel');
        }
        else
        {
        display_note(_("There are no unsettled transactions to allocate."), 0, 1);
 
                submit_center('Cancel', _("Back to Allocations"), true,
-                       _('Abandon allocations and return to selection of allocatable amounts'), true);
+                       _('Abandon allocations and return to selection of allocatable amounts'), 'cancel');
     }
        div_end();
        end_form();