mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
Fix for ticket #590. The gallery.dialog.js looks for an element "#dialog #gProgress" and if it finds it assumes that it is a progress dialog and removes the title. This pathc changes the name of the div containing the progress bar to gServerAddProgress and avoids the issue.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<?= $tree ?>
|
||||
</ul>
|
||||
|
||||
<div id="gProgress" style="display: none">
|
||||
<div id="gServerAddProgress" style="display: none">
|
||||
<div class="gProgressBar"></div>
|
||||
<div id="gStatus"></div>
|
||||
</div>
|
||||
@@ -46,7 +46,7 @@
|
||||
$("#gServerAdd .gProgressBar").
|
||||
progressbar().
|
||||
progressbar("value", 0);
|
||||
$("#gProgress").slideDown("fast", function() { start_add() });
|
||||
$("#gServerAddProgress").slideDown("fast", function() { start_add() });
|
||||
});
|
||||
$("#gServerCloseButton").click(function(event) {
|
||||
$("#gDialog").dialog("close");
|
||||
|
||||
Reference in New Issue
Block a user