mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 22:55:56 -05:00
Minimal IE prefix, won't fix anything, I just wanted to
commit before messing with the Rico livegrid
This commit is contained in:
parent
5a731133e2
commit
76ef6be721
@ -92,7 +92,7 @@ var Source = {
|
|||||||
input = $('edit_playlist_name');
|
input = $('edit_playlist_name');
|
||||||
Source.playlistId = $('source').value;
|
Source.playlistId = $('source').value;
|
||||||
playlistName = this._getOptionElement(Source.playlistId).firstChild.nodeValue;
|
playlistName = this._getOptionElement(Source.playlistId).firstChild.nodeValue;
|
||||||
input.style.top = RicoUtil.toDocumentPosition(this._getOptionElement(Source.playlistId)).y+ 'px';
|
input.style.top = RicoUtil.toDocumentPosition(this._getOptionElement(Source.playlistId)).y + 'px';
|
||||||
input.value = playlistName;
|
input.value = playlistName;
|
||||||
input.style.display = 'block';
|
input.style.display = 'block';
|
||||||
Field.activate(input);
|
Field.activate(input);
|
||||||
@ -154,7 +154,8 @@ var EventHandler = {
|
|||||||
}
|
}
|
||||||
if (EventHandler.sourceClickCount[playlistId] > 1) {
|
if (EventHandler.sourceClickCount[playlistId] > 1) {
|
||||||
el = Event.element(e);
|
el = Event.element(e);
|
||||||
if (!el.text) {
|
if (!document.all && !el.text) {
|
||||||
|
// IE sends the select in the event, not the option
|
||||||
// Firefox generates and event when clicking in and empty area
|
// Firefox generates and event when clicking in and empty area
|
||||||
// of the select box
|
// of the select box
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user