1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Editor dialog (TinyMce Popup) - display bug on IE

Discussion in 'Resolved Bug Reports' started by cclaerhout, Sep 21, 2012.

  1. cclaerhout

    cclaerhout Well-Known Member

    Bug description: the cancel button is inside a div block with a float right property. On some IE, it will display the cancel button on a new line.

    Solution:
    Search in all dialog popup templates:
    Code:
        <div class="sectionFooter">
            <input type="submit" id="insert" name="insert" value="{xen:phrase insert}" class="button primary" />
            <div style="float: right">
                <input type="button" id="cancel" name="cancel" value="{xen:phrase cancel}" class="button" onclick="tinyMCEPopup.close();" />
            </div>
        </div>
    Replace with:
    Code:
        <div class="sectionFooter">
            <div style="float: right">
                <input type="button" id="cancel" name="cancel" value="{xen:phrase cancel}" class="button" onclick="tinyMCEPopup.close();" />
            </div>
            <input type="submit" id="insert" name="insert" value="{xen:phrase insert}" class="button primary" />
        </div>
    Huge change ^^ The floated element needs to be before the fixed element.

    Thanks IE !
     
    Alluidh likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    Sorted, though taken a little further to handle RTL better.
     
    Eagle, TBolley and cclaerhout like this.

Share This Page