This commit is contained in:
Bert Owen 2014-07-02 22:48:02 +02:00
commit af901f9241
3 changed files with 11 additions and 5 deletions

View File

@ -57,6 +57,8 @@
}
}
logger.debug("opening banner:" + options.title);
var $h1 = $banner.find('h1');
$h1.html(options.title);

View File

@ -12,17 +12,21 @@
{ title: "Close JamKazam Application",
buttons: [
{name: 'Completely Shut Down the App', click: function() {context.jamClient.ShutdownApplication()}},
{name: 'Let App Run in Background', click: function() {context.jamClient.ShutdownApplication()}}
{name: 'Let App Run in Background', click: function() {
context.jamClient.RegisterQuitCallback("window.JK.ShutdownDialogCallback");
context.JK.Banner.hide();
}
}
],
html: $('#template-shutdown-prompt').html()});
}
function initialize() {
//context.jamClient.RegisterQuitCallback("window.JK.ShutdownDialogCallback");
context.jamClient.RegisterQuitCallback("window.JK.ShutdownDialogCallback");
}
function quitCallback(options) {
logger.debug("oh hai");
logger.debug("shutdown event");
show();
}

View File

@ -35,8 +35,8 @@ else
current_user.has_rsvp(history)
end
node :scheduled_start do |start|
start.scheduled_start.strftime("%a %e %B %Y %H:%M:%S") if start.scheduled_start
node :scheduled_start do |history|
history.scheduled_start.utc.strftime("%a %e %B %Y %H:%M:%S") if history.scheduled_start
end
child(:creator => :creator) {