diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-19 11:15:11 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-19 11:15:11 -0500 |
commit | d3a7e1f558651d8205cbfe7581c06fe19b327390 (patch) | |
tree | 3b2199fea20f1b2ca9da73a9058a3df31969459d /src | |
parent | c2e566f479297257b94b5318aba6458c299d2d65 (diff) | |
parent | 95b59cdce989b4424e2a93fb60d238830bd0aaf9 (diff) | |
download | pfsense-d3a7e1f558651d8205cbfe7581c06fe19b327390.zip pfsense-d3a7e1f558651d8205cbfe7581c06fe19b327390.tar.gz |
Merge pull request #2089 from brunostein/fix_move_options
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/load_balancer_pool_edit.php | 3 | ||||
-rw-r--r-- | src/usr/local/www/system_usermanager.php | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/local/www/load_balancer_pool_edit.php b/src/usr/local/www/load_balancer_pool_edit.php index e32431c..26a9cbe 100644 --- a/src/usr/local/www/load_balancer_pool_edit.php +++ b/src/usr/local/www/load_balancer_pool_edit.php @@ -236,7 +236,8 @@ events.push(function(){ for(i=0; i<len; i++) { if(From.eq(i).is(':selected')) { option = From.eq(i).val(); - To.append(new Option(option, option)); + value = From.eq(i).text(); + To.append(new Option(value, option)); From.eq(i).remove(); } } diff --git a/src/usr/local/www/system_usermanager.php b/src/usr/local/www/system_usermanager.php index 5950fb4..e046698 100644 --- a/src/usr/local/www/system_usermanager.php +++ b/src/usr/local/www/system_usermanager.php @@ -863,7 +863,8 @@ events.push(function(){ for(i=0; i<len; i++) { if(From.eq(i).is(':selected')) { option = From.eq(i).val(); - To.append(new Option(option, option)); + value = From.eq(i).text(); + To.append(new Option(value, option)); From.eq(i).remove(); } } |