Skip to content

Commit 06339e0

Browse files
author
Marius Cramer
committed
- fixed javascript call in json file
1 parent 1b48cf9 commit 06339e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/dashboard/ajax_get_json.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
$description = 'Database User: '.$result['database_user'].' - Remote IPs: '.$result['remote_ips'];
9292
$result_databases['cdata'][] = array('title' => $result['database_name'],
9393
'description' => $description,
94-
'onclick' => 'capp(\'sites\',\'sites/database_edit.php?id='.$result['database_id'].'\');',
94+
'onclick' => 'ISPConfig.capp(\'sites\',\'sites/database_edit.php?id='.$result['database_id'].'\');',
9595
'fill_text' => strtolower($result['database_name'])
9696
);
9797
}
@@ -227,7 +227,7 @@ function _search($module, $section, $additional_sql = ''){
227227

228228
$result_array['cdata'][] = array('title' => $wb[$title_key.'_txt'].': '.$result[$title_key],
229229
'description' => $description,
230-
'onclick' => "capp('".$module."','".$module."/".$form_file."?id=".$result[$db_table_idx]."');",
230+
'onclick' => "ISPConfig.capp('".$module."','".$module."/".$form_file."?id=".$result[$db_table_idx]."');",
231231
'fill_text' => strtolower($result[$title_key])
232232
);
233233
}

0 commit comments

Comments
 (0)