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:
Martin Konecny 2012-08-07 20:48:58 -04:00
parent db36870aec
commit 230c3399ef

View file

@ -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() {