mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-20 17:54:25 +01:00
Only edit 1 bookmark at the time
This commit is contained in:
parent
19925df098
commit
8fde82f956
@ -18,7 +18,7 @@
|
||||
type: 'POST',
|
||||
url: $(this).attr('action'),
|
||||
data: $(this).serialize(),
|
||||
success: function(data){
|
||||
success: function(data){
|
||||
if(data.status == 'success'){
|
||||
base.options['on_success'](data);
|
||||
} else { // On failure
|
||||
|
@ -227,9 +227,11 @@ function delBookmark(event) {
|
||||
}
|
||||
|
||||
function editBookmark(event) {
|
||||
if($('.bookmark_single_form').length){
|
||||
$('.bookmark_single_form .reset').click();
|
||||
}
|
||||
var record = $(this).parent().parent();
|
||||
bookmark = record.data('record');
|
||||
//createEditDialog(bookmark);
|
||||
html = tmpl("item_form_tmpl", bookmark);
|
||||
|
||||
record.after(html);
|
||||
|
Loading…
x
Reference in New Issue
Block a user