2010-11-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/extensions.php: fixed a lost javascript trace, and fixed when all extensions is disabled. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
bab78e2683
commit
43e4675d05
|
@ -1,3 +1,8 @@
|
||||||
|
2010-11-22 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* godmode/extensions.php: fixed a lost javascript trace, and fixed
|
||||||
|
when all extensions is disabled.
|
||||||
|
|
||||||
2010-11-19 Sergio Martin <sergio.martin@artica.es>
|
2010-11-19 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* operation/agentes/estado_generalagente.php: Fixed the
|
* operation/agentes/estado_generalagente.php: Fixed the
|
||||||
|
|
|
@ -22,14 +22,17 @@ if (! give_acl ($config['id_user'], 0, "PM")) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sizeof ($config['extensions']) == 0) {
|
|
||||||
echo '<h3>'.__('There are no extensions defined').'</h3>';
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Header
|
// Header
|
||||||
print_page_header (__('Extensions'). " » ". __('Defined extensions'), "images/extensions.png", false, "", true, "" );
|
print_page_header (__('Extensions'). " » ". __('Defined extensions'), "images/extensions.png", false, "", true, "" );
|
||||||
|
|
||||||
|
if (sizeof ($config['extensions']) == 0) {
|
||||||
|
$extensions = getExtensionInfo();
|
||||||
|
if (empty($extensions)) {
|
||||||
|
echo '<h3>'.__('There are no extensions defined').'</h3>';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$enterprise = (bool)get_parameter('enterprise', 0);
|
$enterprise = (bool)get_parameter('enterprise', 0);
|
||||||
$delete = get_parameter ("delete", "");
|
$delete = get_parameter ("delete", "");
|
||||||
$enabled = get_parameter("enabled", "");
|
$enabled = get_parameter("enabled", "");
|
||||||
|
@ -128,7 +131,6 @@ if ($disabled != '') {
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var href = location.href
|
var href = location.href
|
||||||
href = href.replace(/&enterprise=(0|1)&disabled=.*/g, "");
|
href = href.replace(/&enterprise=(0|1)&disabled=.*/g, "");
|
||||||
console.log(href);
|
|
||||||
location = href;
|
location = href;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue