mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-04 02:09:23 +02:00
Fix #587
This commit is contained in:
parent
6b1826271c
commit
3dac196975
2 changed files with 6 additions and 6 deletions
|
@ -151,7 +151,7 @@ function showShareDialog(e, object_type, object_id) {
|
|||
parent.editDialogId = '<div id="sharedialog"></div>';
|
||||
|
||||
$(parent.editDialogId).dialog({
|
||||
modal: true,
|
||||
modal: false,
|
||||
dialogClass: 'sharedialogstyle',
|
||||
resizable: false,
|
||||
draggable: false,
|
||||
|
@ -160,7 +160,7 @@ function showShareDialog(e, object_type, object_id) {
|
|||
autoOpen: false,
|
||||
open: function () {
|
||||
closeshare = 1;
|
||||
$(document).bind('dblclick', shoverlayclickclose);
|
||||
$(document).bind('click', shoverlayclickclose);
|
||||
$(this).load(parent.contentUrl, function() {
|
||||
$('#sharedialog').focus();
|
||||
});
|
||||
|
@ -187,8 +187,8 @@ function shoverlayclickclose(e) {
|
|||
closeshare = 1;
|
||||
}
|
||||
|
||||
function handleShareAction(url, id) {
|
||||
ajaxPut(url, id);
|
||||
function handleShareAction(url) {
|
||||
NavigateTo(url);
|
||||
$("#sharedialog").dialog("close");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue