2011-09-01 Miguel de Dios <miguel.dedios@artica.es>

* godmode/modules/manage_nc_groups.php: fixed the javascript to promt to
	confirm the delete. And fixed the link to delete that in some browsers
	crash.
	
	Fixes: #3402336



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-09-01 14:19:44 +00:00
parent a2d3156f88
commit 3fc7dc518b
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_nc_groups.php: fixed the javascript to promt to
confirm the delete. And fixed the link to delete that in some browsers
crash.
Fixes: #3402336
2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_groups.php: fixed when the group haven't a icon.

View File

@ -163,9 +163,9 @@ foreach ($groups as $group) {
$data[1] = network_components_get_group_name ($group['parent']);
$data[2] = "<a onclick='if(confirm('" . __('Are you sure?') . "')) return true; else return false;'
$data[2] = "<a onclick='if(confirm(\"" . __('Are you sure?') . "\")) return true; else return false;'
href='index.php?sec=gmodules&sec2=godmode/modules/manage_nc_groups&delete=1&id=".$group['id_sg']."&offset=0'>" .
html_print_input_image ('del', 'images/cross.png', 1, '', true, array ('title' => __('Delete'))) . "</a>" .
html_print_image('images/cross.png', true, array('title' => __('Delete'))) . "</a>" .
html_print_checkbox_extended ('delete_multiple[]', $group['id_sg'], false, false, '', 'class="check_delete"', true);
array_push ($table->data, $data);