CC-3547 : Refactoring Views, removing action stack to better work with permissions. Reorganizing Statistics Dialog.

This commit is contained in:
Naomi Aro 2012-03-29 15:34:58 +02:00
parent 1b8a967cc0
commit f48c5ff575
26 changed files with 173 additions and 513 deletions

View file

@ -1,7 +1,7 @@
$(document).ready(function(){
function doNotShowPopup(){
$.get("/Nowplaying/donotshowregistrationpopup");
$.get("/Usersettings/donotshowregistrationpopup", {format:"json"});
}
var dialog = $("#register_popup");
@ -18,9 +18,10 @@ $(document).ready(function(){
id: "remind_me",
text: "Remind me in 1 week",
click: function() {
var url = '/Nowplaying/remindme';
var url = '/Usersettings/remindme';
$.ajax({
url: url,
data: {format:"json"}
});
$(this).dialog("close");
}

View file

@ -51,9 +51,9 @@ $(document).ready(function(){
AIRTIME.showbuilder.fnServerData.start = oRange.start;
AIRTIME.showbuilder.fnServerData.end = oRange.end;
if (AIRTIME.showLib === true) {
$lib.show()
.width(Math.floor(screenWidth * 0.5));
if ($lib.filter(':visible').length > 0) {
$lib.width(Math.floor(screenWidth * 0.5));
$builder.width(Math.floor(screenWidth * 0.5))
.find("#sb_edit")