fix #2299 (In document viewer dialog, previous/next buttons don't appear/disappear)
This commit is contained in:
parent
da53817a20
commit
02f00bd909
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ pandora.ui.documentDialog = function(options) {
|
||||||
items = options.items;
|
items = options.items;
|
||||||
item = items[options.index];
|
item = items[options.index];
|
||||||
setTitle();
|
setTitle();
|
||||||
|
$selectButton[items.length > 1 ? 'show' : 'hide']();
|
||||||
setContent();
|
setContent();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue