Plugin ID correct
- Replaced ```$(this).dialog('destroy');``` with ```$(this).dialog('close');```. - Not closes the dialog when in the _auto-drawer_ DRAW is clicked;
This commit is contained in:
parent
3a018a7b2e
commit
0d9b9a89a4
@ -1,5 +1,5 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @id iitc-plugin-bookmarks@zaso
|
// @id iitc-plugin-bookmarks@ZasoGD
|
||||||
// @name IITC plugin: Bookmarks for maps and portals
|
// @name IITC plugin: Bookmarks for maps and portals
|
||||||
// @category Controls
|
// @category Controls
|
||||||
// @version 0.2.2.@@DATETIMEVERSION@@
|
// @version 0.2.2.@@DATETIMEVERSION@@
|
||||||
@ -590,11 +590,10 @@
|
|||||||
title:'Bookmarks - Auto Drawer',
|
title:'Bookmarks - Auto Drawer',
|
||||||
buttons:{
|
buttons:{
|
||||||
'DRAW': function() {
|
'DRAW': function() {
|
||||||
$(this).dialog('destroy');
|
|
||||||
window.plugin.bookmarks.draw();
|
window.plugin.bookmarks.draw();
|
||||||
},
|
},
|
||||||
'REFRESH LIST': function() {
|
'REFRESH LIST': function() {
|
||||||
$(this).dialog('destroy');
|
$(this).dialog('close');
|
||||||
window.plugin.bookmarks.dialogDrawer();
|
window.plugin.bookmarks.dialogDrawer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user