1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 02:09:23 +02:00
This commit is contained in:
SUTJael 2014-11-18 18:26:55 +01:00
parent 6b1826271c
commit 3dac196975
2 changed files with 6 additions and 6 deletions

View file

@ -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");
}