mirror of
https://github.com/cosmocode/dokuwiki-plugin-struct.git
synced 2025-07-29 11:59:24 +00:00
correctly initialize multiple lookup editors
This commit is contained in:
@ -8,7 +8,7 @@ jQuery(function () {
|
||||
SchemaEditor();
|
||||
|
||||
/* DOKUWIKI:include script/LookupEditor.js */
|
||||
LookupEditor(jQuery('div.structaggregation table'));
|
||||
jQuery('div.structlookup table').each(LookupEditor);
|
||||
|
||||
/* DOKUWIKI:include script/InlineEditor.js */
|
||||
InlineEditor(jQuery('div.structaggregation table'));
|
||||
|
@ -1,8 +1,8 @@
|
||||
/**
|
||||
* Lookup Editor
|
||||
*/
|
||||
var LookupEditor = function ($table) {
|
||||
|
||||
var LookupEditor = function (idx, table) {
|
||||
var $table = jQuery(table);
|
||||
var $form = null;
|
||||
var formdata;
|
||||
|
||||
|
Reference in New Issue
Block a user