witten
/
luminotes
Archived
1
0
Fork 0

Changed the warning about Safari/Chrome/Opera incompatibility to be an in-page message instead of a popup alert so as to be slightly less obnoxious.

This commit is contained in:
Dan Helfman 2008-09-30 12:58:39 -07:00
parent 4d24914496
commit 2e5ec59c2b
3 changed files with 9 additions and 4 deletions

3
NEWS
View File

@ -6,6 +6,9 @@
stripped out when exporting to CSV.
* Fixed a bug in which clicking the "export" link when the current note was
unsaved did not open the export pulldown.
* Changed the warning about Safari/Chrome/Opera incompatibility to be an
in-page message instead of a popup alert so as to be slightly less
obnoxious.
1.5.1: September 28, 2008
* Implemented CSV exporting, so now you can export all of your notes to a

View File

@ -1 +1 @@
VERSION = u"1.5.1"
VERSION = u"1.5.2"

View File

@ -50,13 +50,15 @@ function Wiki( invoker ) {
if ( this.notebook && this.notebook.read_write ) {
unsupported_agent = null;
if ( /Safari/.test( navigator.userAgent ) )
if ( /Chrome/.test( navigator.userAgent ) )
unsupported_agent = "Chrome";
else if ( /Safari/.test( navigator.userAgent ) )
unsupported_agent = "Safari";
if ( /Opera/.test( navigator.userAgent ) )
else if ( /Opera/.test( navigator.userAgent ) )
unsupported_agent = "Opera";
if ( unsupported_agent )
alert( "Luminotes does not currently support the " + unsupported_agent + " web browser for editing. If possible, please use Firefox or Internet Explorer instead. " + unsupported_agent + " support will be added in a future release. Sorry for the inconvenience." );
this.display_message( "Luminotes does not currently support the " + unsupported_agent + " web browser for editing. If possible, please use Firefox or Internet Explorer instead. " + unsupported_agent + " support will be added in a future release. Sorry for the inconvenience." );
}
var deleted_id = getElement( "deleted_id" ).value;