Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008
    Location
    Los Angeles, CA
    Posts
    82
    Plugin Contributions
    0

    Default Iframe in product description hides admin update button

    Hi,

    Does anyone know the fix to:

    When I add an iframe to my product description box in the admin I am able to hit preview but unable to hit the update button because upon the description preview whith the iframe somehow hides the update button.

    I even added
    Code:
     ?wmode=transparent
    to the end of the src url to no avail.

    Hmmm

    Any thoughts?

    Nadia

  2. #2
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Iframe in product description hides admin update button

    I had exactly the same problem
    HTMLeditor removes the closing tag of the iframe before preview and I think iframe's don't work without closing tags and caused the display problem

    edit: editors/htmlarea/htmlarea.js

    find

    PHP Code:
    HTMLArea.needsClosingTag = function(el) {
    var 
    closingTags " head script style div span tr td tbody table em strong font a title ";
    return (
    closingTags.indexOf(" " el.tagName.toLowerCase() + " ") != -1);
    }; 
    (line 3893)

    add iframe
    e.g.:
    PHP Code:
    HTMLArea.needsClosingTag = function(el) {
    var 
    closingTags " iframe head script style div span tr td tbody table em strong font a title ";
    return (
    closingTags.indexOf(" " el.tagName.toLowerCase() + " ") != -1);
    }; 

  3. #3
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Iframe in product description hides admin update button

    I had this issue to I had to manually fix the description at a database level.

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Iframe in product description hides admin update button

    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. v139h Product description unable to update contents
    By hara in forum General Questions
    Replies: 6
    Last Post: 10 Apr 2016, 11:55 AM
  2. iframe not allowed in product description?
    By shughey in forum General Questions
    Replies: 9
    Last Post: 26 Jul 2011, 01:26 PM
  3. Batch update - product description
    By madk in forum General Questions
    Replies: 0
    Last Post: 22 Jun 2006, 03:51 PM
  4. admin>configuration>stock>update cart button option missing
    By danmcguire in forum Basic Configuration
    Replies: 3
    Last Post: 16 Jun 2006, 01:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg