#2669: while drag and drop of ImageButton ,the path will be changed  to absolute
path
---------------------------+------------------------------------------------
 Reporter:  gobinathb      |       Owner:               
     Type:  Bug            |      Status:  new          
 Priority:  Normal         |   Milestone:               
Component:  General        |     Version:  FCKeditor 2.4
 Keywords:  Confirmed IE7  |  
---------------------------+------------------------------------------------

Comment(by gobinathb):

 i have changed fckxhtml.js .now it works...Is it correct or not...

 // IE doens't see the value attribute as an attribute for the <INPUT> tag.
 FCKXHtml.TagProcessors['input'] = function( node, htmlNode )
 {
         if ( htmlNode.name )
                 FCKXHtml._AppendAttribute( node, 'name', htmlNode.name ) ;

         if ( htmlNode.value && !node.attributes.getNamedItem( 'value' ) )
                 FCKXHtml._AppendAttribute( node, 'value', htmlNode.value )
 ;

         if ( !node.attributes.getNamedItem( 'type' ) )
                 FCKXHtml._AppendAttribute( node, 'type', 'text' ) ;

         //Added by Gobi on 20081125.
         if ( node.attributes.getNamedItem( 'src' ) ){
                 var sSavedUrl = htmlNode.getAttribute( '_fcksavedurl' ) ;
                 FCKXHtml._AppendAttribute( node, 'src', sSavedUrl ) ;
         }

         return node ;
 }

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2669#comment:4>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to