Projet

Général

Profil

« Précédent | Suivant » 

Révision 370b4666

Ajouté par bruno il y a plus de 9 ans

Fix close button in the info box

Voir les différences:

usr/local/www/guiconfig.inc
334 334
	}
335 335

  
336 336
	if(!$savebutton) {
337
		$savebutton = "<td class=\"infoboxsave\"><input value=\"" . gettext("Close") . "\" type=\"button\" onclick=\"jQuery('#redboxtable').hide();\" /></td>";
337
		$savebutton = "<td class=\"infoboxsave\"><input value=\"" . gettext("Close") . "\" type=\"button\" onclick=\"jQuery(this).parents('table[id=redboxtable]').hide();\" /></td>";
338 338
	}
339 339

  
340 340
	echo <<<EOFnp
......
399 399

  
400 400

  
401 401
	if(!$savebutton) {
402
		$savebutton = "<td class=\"infoboxsave\"><input value=\"" . gettext("Close") . "\" type=\"button\" onclick=\"jQuery('#redboxtable').hide();\" /></td>";
402
		$savebutton = "<td class=\"infoboxsave\"><input value=\"" . gettext("Close") . "\" type=\"button\" onclick=\"jQuery(this).parents('table[id=redboxtable]').hide();\" /></td>";
403 403
	}
404 404

  
405 405
	echo <<<EOFnp

Formats disponibles : Unified diff