mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-26 23:54:25 +01:00
Fix non closing dialog
This commit is contained in:
parent
269e09ff9e
commit
69092b75ca
@ -172,8 +172,7 @@ function getBookmarks() {
|
||||
|
||||
|
||||
function createEditDialog(record){
|
||||
dialog_html = $('#edit_dialog').html();
|
||||
var oc_dialog= $(dialog_html).dialog({
|
||||
var oc_dialog= $('#edit_dialog form').clone().dialog({
|
||||
width : 620,
|
||||
height: 350,
|
||||
title: t('bookmark', 'Edit bookmark'),
|
||||
@ -185,7 +184,7 @@ function createEditDialog(record){
|
||||
|
||||
$('.ui-dialog').bookmark_dialog({
|
||||
on_success: function(){
|
||||
dialog.dialog('destroy').remove();
|
||||
oc_dialog.dialog('destroy').remove();
|
||||
filterTagsChanged();
|
||||
},
|
||||
record: record
|
||||
|
Loading…
x
Reference in New Issue
Block a user