From d91933ac5f6e6c7bebb196d99db5d89433f46545 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 24 Nov 2009 11:55:10 +0000 Subject: [PATCH] "fixed IE8 problem (maybe other IE version too): can NOT select resource" --- resources/inc/class.ui_resources.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/inc/class.ui_resources.inc.php b/resources/inc/class.ui_resources.inc.php index 7f484f3d6f..e6f129fdbd 100755 --- a/resources/inc/class.ui_resources.inc.php +++ b/resources/inc/class.ui_resources.inc.php @@ -350,7 +350,7 @@ class ui_resources function addOption(label,value,button_id,useable) { - quantity = document.getElementById(button_id+'[default_qty]').value; + var quantity = document.getElementById(button_id+'[default_qty]').value; value = value+':'+quantity; if(quantity>useable) { alert('".lang('You chose more resources than available')."');