Fixed an Internet Explorer bug in which backspace sometimes didn't work, such as when backspacing an empty list element.
This commit is contained in:
parent
033833b00b
commit
3da951b0ba
2
NEWS
2
NEWS
|
@ -7,6 +7,8 @@
|
||||||
* Fixed a Chrome/Safari bug in which ending a link didn't always work.
|
* Fixed a Chrome/Safari bug in which ending a link didn't always work.
|
||||||
* Fixed a rare Chrome/Safari bug in which pressing backspace sometimes made
|
* Fixed a rare Chrome/Safari bug in which pressing backspace sometimes made
|
||||||
the text cursor vanish.
|
the text cursor vanish.
|
||||||
|
* Fixed an Internet Explorer bug in which backspace sometimes didn't work,
|
||||||
|
such as when backspacing an empty list element.
|
||||||
|
|
||||||
1.5.8: November 24, 2008
|
1.5.8: November 24, 2008
|
||||||
* Fixed a bug that prevented notes from being automatically saved in certain
|
* Fixed a bug that prevented notes from being automatically saved in certain
|
||||||
|
|
|
@ -1154,9 +1154,11 @@ Wiki.prototype.editor_key_pressed = function ( editor, event ) {
|
||||||
} else if ( code == 8 && editor.document.selection ) {
|
} else if ( code == 8 && editor.document.selection ) {
|
||||||
var range = editor.document.selection.createRange();
|
var range = editor.document.selection.createRange();
|
||||||
range.moveStart( "character", -1 );
|
range.moveStart( "character", -1 );
|
||||||
|
if ( range.text != "" ) {
|
||||||
range.text = "";
|
range.text = "";
|
||||||
event.stop();
|
event.stop();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Wiki.prototype.get_toolbar_image_dir = function ( always_small ) {
|
Wiki.prototype.get_toolbar_image_dir = function ( always_small ) {
|
||||||
|
|
Reference in New Issue