CC-1665: Scheduled stream rebroadcasting and recording
-fix newlines appearing in playlist/webstream title -disable autosave of playlist/webstream title
This commit is contained in:
parent
db36870aec
commit
230c3399ef
1 changed files with 5 additions and 1 deletions
|
@ -262,7 +262,10 @@ var AIRTIME = (function(AIRTIME){
|
||||||
var nameElement = $(this),
|
var nameElement = $(this),
|
||||||
lastMod = getModified(),
|
lastMod = getModified(),
|
||||||
type = $('#obj_type').val();
|
type = $('#obj_type').val();
|
||||||
|
//remove any newlines if user somehow snuck them in (easy to do if dragging/dropping text)
|
||||||
|
nameElement.text(nameElement.text().replace("\n", ""));
|
||||||
|
|
||||||
|
/* --until we decide whether Playlist name should autosave or not
|
||||||
url = '/Playlist/set-playlist-name';
|
url = '/Playlist/set-playlist-name';
|
||||||
|
|
||||||
$.post(url,
|
$.post(url,
|
||||||
|
@ -278,6 +281,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
redrawLib();
|
redrawLib();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
function redrawLib() {
|
function redrawLib() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue