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:
Giacinto Garcea 2013-08-30 11:08:09 +02:00
parent 3a018a7b2e
commit 0d9b9a89a4

View File

@ -1,5 +1,5 @@
// ==UserScript==
// @id iitc-plugin-bookmarks@zaso
// @id iitc-plugin-bookmarks@ZasoGD
// @name IITC plugin: Bookmarks for maps and portals
// @category Controls
// @version 0.2.2.@@DATETIMEVERSION@@
@ -590,11 +590,10 @@
title:'Bookmarks - Auto Drawer',
buttons:{
'DRAW': function() {
$(this).dialog('destroy');
window.plugin.bookmarks.draw();
},
'REFRESH LIST': function() {
$(this).dialog('destroy');
$(this).dialog('close');
window.plugin.bookmarks.dialogDrawer();
}
}