mirror of https://github.com/BOINC/boinc.git
Merge pull request #1690 from drshawnkwang/drupal_fix-ahahformcancel
Drupal: Fix bug where Cancel link in AHAH form
This commit is contained in:
commit
5040694dfb
|
@ -530,7 +530,7 @@ function boincwork_generalprefs_form(&$form_state, $venue, $prefs_preset = null,
|
||||||
'#suffix' => '</li>'
|
'#suffix' => '</li>'
|
||||||
);
|
);
|
||||||
$form['prefs']['form control tabs'] = array(
|
$form['prefs']['form control tabs'] = array(
|
||||||
'#value' => '<li class="tab">' . l(bts('Cancel'), $_GET['q']) . '</li>'
|
'#value' => '<li class="tab">' . l(bts('Cancel'), drupal_get_path_alias("account/prefs/computing/edit")) . '</li>'
|
||||||
);
|
);
|
||||||
if ($venue AND $venue != 'generic') {
|
if ($venue AND $venue != 'generic') {
|
||||||
global $base_path;
|
global $base_path;
|
||||||
|
|
Loading…
Reference in New Issue