So I have fixed the problem. I have replaced the last line (commented
out with //) by the following lines:
config.macros.saveChanges.label_orig_UploadPlugin =
config.macros.saveChanges.label;
config.macros.saveChanges.label =
config.macros.upload.label.saveToDisk;
config.macros.saveChanges.handler_orig_UploadPlugin =
config.macros.saveChanges.handler;
config.macros.saveChanges.handler = function(place)
{
if ((!readOnly) && (document.location.toString().substr(0,4) !=
"http"))
createTiddlyButton
(place,this.label,this.prompt,this.onClick,null,null,this.accessKey);
};
This does what I want it to do. The reason is that the label for
saveToDisk is "save" and that's what I want my button to display. I
don't understand the other lines of the code involving .handler or
accessKey. I don't know why my original code worked in Firefox but not
in Internet Explorer. I don't know and I don't plan to find out! all I
care about at this stage is that it looks like what I want AND it
loads in IE ! A happy moment.
this thread may be considered closed.
thanks to all for your help,
Patrick.
P.S. I don't know who deserves credit for the lines of code above,
they may be found in many TiddlyWikis. Thanks to you out there.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---