in example pages, allow for setting theme from outside the iframe

This commit is contained in:
rolux 2012-04-15 21:13:18 +02:00
commit 0f4d72c1da
14 changed files with 52 additions and 50 deletions

View file

@ -117,17 +117,6 @@ Ox.load('UI', function() {
.appendTo($status),
$remaining = Ox.$('<div>')
.appendTo($status),
$button = Ox.Button({
title: 'Switch Theme',
width: labelWidth
})
.attr({id: 'switch'})
.bindEvent({
click: function() {
Ox.Theme(Ox.Theme() == 'classic' ? 'modern' : 'classic');
}
})
.appendTo(Ox.$body);
cancelled = false,
paused = false,
progress = 0,