Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2009-03-16 17:39:14

pumpy
New member
Registered: 2009-03-16
Posts: 2

save as in firefox and safari

i'm not seeing the 'save as' button in firefox or safari. it appears and works in ie.

if remove "Xinha.is_gecko ? [] :" from the config, the button will appear in firefox and safari, however, firefox pops an error and safari does nothing at all.


thoughts?

apologies if this has already been posted and i missed it.


this is my config:


xinha_editors=null;
xinha_init=null;
xinha_config=null;
xinha_plugins=null;
xinha_init=xinha_init?xinha_init:function(){
xinha_editors=xinha_editors?xinha_editors:["myTextArea"];
xinha_plugins=xinha_plugins?xinha_plugins:
[
   'ContextMenu',
  ];


if(!Xinha.loadPlugins(xinha_plugins,xinha_init)){
return;
}
xinha_config=xinha_config?xinha_config():new Xinha.Config();


xinha_config.pageStyleSheets=["examples/full_example.css"];
xinha_config.toolbar =
[
   ["popupeditor"],
   ["separator","fontname","fontsize","bold","italic"],
   ["linebreak","separator","undo","redo","selectall"], (Xinha.is_gecko ? [] : ["separator","cut","copy","paste","overwrite","separator","saveas"]),
   ["separator","print"],
];
xinha_config.showLoading = false;

xinha_editors=Xinha.makeEditors(xinha_editors,xinha_config,xinha_plugins);
xinha_editors.myTextArea.config.height = '300px';

Xinha.startEditors(xinha_editors);
};
Xinha.addOnloadHandler(xinha_init);

Offline

Board footer

Powered by FluxBB