Compare commits
2 commits
a8aa619217
...
1b1442e664
Author | SHA1 | Date | |
---|---|---|---|
1b1442e664 | |||
18cbf0ec9c |
2 changed files with 21 additions and 17 deletions
|
@ -137,24 +137,26 @@ pandora.ui.helpDialog = function() {
|
||||||
|
|
||||||
that.select = function(id) {
|
that.select = function(id) {
|
||||||
var img, $img;
|
var img, $img;
|
||||||
$text.html(text[id || 'help']).scrollTop(0);
|
if ($text) {
|
||||||
img = $text.find('img');
|
$text.html(text[id || 'help']).scrollTop(0);
|
||||||
if (img) {
|
img = $text.find('img');
|
||||||
$img = $(img);
|
if (img) {
|
||||||
$img.replaceWith(
|
$img = $(img);
|
||||||
$image = Ox.ImageElement(
|
$img.replaceWith(
|
||||||
Ox.extend(getImageSize(), {src: $img.attr('src')})
|
$image = Ox.ImageElement(
|
||||||
)
|
Ox.extend(getImageSize(), {src: $img.attr('src')})
|
||||||
.css({borderRadius: '8px'})
|
)
|
||||||
);
|
.css({borderRadius: '8px'})
|
||||||
|
);
|
||||||
|
}
|
||||||
|
$text.find('td:first-child')
|
||||||
|
.css({
|
||||||
|
height: '16px',
|
||||||
|
paddingRight: '8px',
|
||||||
|
textAlign: 'right',
|
||||||
|
whiteSpace: 'nowrap'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
$text.find('td:first-child')
|
|
||||||
.css({
|
|
||||||
height: '16px',
|
|
||||||
paddingRight: '8px',
|
|
||||||
textAlign: 'right',
|
|
||||||
whiteSpace: 'nowrap'
|
|
||||||
});
|
|
||||||
return that;
|
return that;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -322,6 +322,7 @@ if __name__ == "__main__":
|
||||||
current_branch = get_branch(path)
|
current_branch = get_branch(path)
|
||||||
revno = get_version(path)
|
revno = get_version(path)
|
||||||
if repo == 'pandora':
|
if repo == 'pandora':
|
||||||
|
print("Pandora Version pre update: ", revno)
|
||||||
pandora_old_revno = revno
|
pandora_old_revno = revno
|
||||||
current += revno
|
current += revno
|
||||||
if current_branch != branch:
|
if current_branch != branch:
|
||||||
|
@ -345,6 +346,7 @@ if __name__ == "__main__":
|
||||||
new += '+'
|
new += '+'
|
||||||
os.chdir(join(base, 'pandora'))
|
os.chdir(join(base, 'pandora'))
|
||||||
if pandora_old_revno != pandora_new_revno:
|
if pandora_old_revno != pandora_new_revno:
|
||||||
|
print("Pandora Version post update: ", pandora_new_revno)
|
||||||
os.chdir(base)
|
os.chdir(base)
|
||||||
run('./update.py', 'postupdate', pandora_old_revno, pandora_new_revno)
|
run('./update.py', 'postupdate', pandora_old_revno, pandora_new_revno)
|
||||||
os.chdir(join(base, 'pandora'))
|
os.chdir(join(base, 'pandora'))
|
||||||
|
|
Loading…
Reference in a new issue