public function buildQuickForm() {
$this->addEntityRef('reassign_contact_id', ts('Select Contact'), array('create' => TRUE), TRUE);
$this->addButtons(array(
- array(
- 'type' => 'cancel',
- 'name' => ts('Cancel'),
- ),
array(
'type' => 'done',
'name' => ts('Reassign Case'),
),
+ array(
+ 'type' => 'cancel',
+ 'name' => ts('Cancel'),
+ ),
));
// This form may change the url structure so should not submit via ajax
title: $(this).attr('title') || $(this).text(),
message: detached[target],
resizable: true,
+ options: {yes: ts('Save'), no: ts('Cancel')},
open: function() {
miniForms[target].pre && miniForms[target].pre.call(this, $el.data());
}