git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unfold: better management of static files thanks to finders for plugins and third...
[unfold.git]
/
plugins
/
query_editor
/
static
/
js
/
query_editor.js
diff --git
a/plugins/query_editor/query_editor.js
b/plugins/query_editor/static/js/query_editor.js
similarity index 99%
rename from
plugins/query_editor/query_editor.js
rename to
plugins/query_editor/static/js/query_editor.js
index
ff2136e
..
e065a65
100644
(file)
--- a/
plugins/query_editor/query_editor.js
+++ b/
plugins/query_editor/static/js/query_editor.js
@@
-47,7
+47,7
@@
manifold.raise_event(self.options.query_uuid, this.checked?FIELD_ADDED:FIELD_REMOVED, this.value);
});
manifold.raise_event(self.options.query_uuid, this.checked?FIELD_ADDED:FIELD_REMOVED, this.value);
});
- /* The following code adds an expandable column for the table
*/
+ /* The following code adds an expandable column for the table
// XXX Why isn't it done statically ?
var nCloneTh = document.createElement( 'th' );
var nCloneTd = document.createElement( 'td' );
// XXX Why isn't it done statically ?
var nCloneTh = document.createElement( 'th' );
var nCloneTd = document.createElement( 'td' );
@@
-62,6
+62,7
@@
this.el('table tbody tr').each(function() {
this.insertBefore(nCloneTd.cloneNode( true ), this.childNodes[0]);
});
this.el('table tbody tr').each(function() {
this.insertBefore(nCloneTd.cloneNode( true ), this.childNodes[0]);
});
+ */
// We are currently using a DataTable display, but another browsing component could be better
//jQuery('#'+this.options.plugin_uuid+'-table').dataTable...
// We are currently using a DataTable display, but another browsing component could be better
//jQuery('#'+this.options.plugin_uuid+'-table').dataTable...
@@
-71,7
+72,7
@@
bInfo : false,
sScrollX : '100%', // Horizontal scrolling
sScrollY : '200px',
bInfo : false,
sScrollX : '100%', // Horizontal scrolling
sScrollY : '200px',
- bJQueryUI : true, // Use jQuery UI
+
//
bJQueryUI : true, // Use jQuery UI
bProcessing : true, // Loading
aaSorting : [[ 1, "asc" ]], // sort by column fields on load
aoColumnDefs: [
bProcessing : true, // Loading
aaSorting : [[ 1, "asc" ]], // sort by column fields on load
aoColumnDefs: [