Opened 11 years ago

Closed 9 years ago

#645 closed defect (fixed)

Save as function only saves the original html

Reported by: jjiimm_64@… Owned by: gogo
Priority: normal Milestone: 0.95
Component: Xinha Core Version:
Severity: normal Keywords: save as
Cc:

Description

The save as function only saves the original html, not the edited version. Are there plans to save the edited version or should I try and do my own save as button?

Attachments (1)

.2 (0 bytes) - added by anonymous 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by anonymous

  • Component changed from Documentation to Xinha Core
  • Owner changed from akaEdge to gogo

comment:2 Changed 11 years ago by ray

That´s right. Why!? I wonder where IE got this from.
If this cannot be fixed, imho this function has to be removed. After all if find it rather problematic that this is as far as I see a IE only function. That´s a real shame, because I think that Xinha most of the time does work better in Mozilla.

comment:3 Changed 11 years ago by ray

This is a rather dirty one I think, but it seems to work:

xinha_config.btnList['saveas'] =[ "Save as", "ed_saveas.gif", false, function(e) {e._textArea.value = e.getHTML();e.initIframe();e.execCommand("saveas",false,"noname.htm");} ];

in your config file

Changed 11 years ago by anonymous

comment:4 Changed 9 years ago by ray

  • Milestone set to 0.95
  • Resolution set to fixed
  • Status changed from new to closed

rev [943]: added a function that creates a fresh document to save in an extra iframe, which is way cleaner than calling initIframe()

Note: See TracTickets for help on using tickets.