This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  804c70df92a9f71b8f8cf865a6cae869e5a57887 (commit)
      from  1fa0a933391b566ece6b36a41658ce888e1be812 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=804c70df92a9f71b8f8cf865a6cae869e5a57887

commit 804c70df92a9f71b8f8cf865a6cae869e5a57887
Author: Franck Villaume <franck.villa...@trivialdev.com>
Date:   Thu Dec 1 11:20:01 2016 +0100

    quick hack to fix IE with jquery tooltip in single select

diff --git a/src/www/include/html.php b/src/www/include/html.php
index ff6223a..ce7288a 100644
--- a/src/www/include/html.php
+++ b/src/www/include/html.php
@@ -639,6 +639,7 @@ function html_build_select_box_from_arrays($vals, $texts, 
$select_name,
                $text_100 = _('Nobody');
        }
        $have_a_subelement = false;
+       $attrsFieldset = array('style' => 'padding: 0 !important; border: 0 
!important; display: inline;');
        $return = '';
 
        $rows = count($vals);
@@ -652,9 +653,10 @@ function html_build_select_box_from_arrays($vals, $texts, 
$select_name,
 
        if (empty($attrs['title'])) {
                //TODO: remove this ugly ack to get something more generic...
-               $attrs['title'] = 
util_html_secure(html_get_tooltip_description($select_name));
+               $attrsFieldset['title'] = 
util_html_secure(html_get_tooltip_description($select_name));
        } else {
-               $attrs['title'] = util_html_secure($attrs['title']);
+               $attrsFieldset['title'] = util_html_secure($attrs['title']);
+               unset($attrs['title']);
        }
 
        if (!empty($attrs['title'])) {
@@ -664,6 +666,7 @@ function html_build_select_box_from_arrays($vals, $texts, 
$select_name,
                }
        }
        $attrs['name'] = $select_name;
+       $return .= html_ao('fieldset', $attrsFieldset);
        $return .= html_ao('select', $attrs);
 
        //we don't always want the default Any row shown
@@ -748,7 +751,7 @@ function html_build_select_box_from_arrays($vals, $texts, 
$select_name,
                $return .= html_e('option', array(), '', false);
        }
 
-       $return .= html_ac(html_ap() -1);
+       $return .= html_ac(html_ap() -2);
        return $return;
 }
 

-----------------------------------------------------------------------

Summary of changes:
 src/www/include/html.php | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
Fusionforge-commits@lists.fusionforge.org
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to