mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
Remove base.entry.js, declare all JS dependencies in explore using npm. Pin older select2 version to enable select2Sortable.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var $ = window.$ || require('jquery');
|
||||
var d3 = window.d3 || require('d3');
|
||||
var $ = require('jquery'), jQuery = $;
|
||||
var d3 = require('d3');
|
||||
|
||||
var color = function(){
|
||||
// Color related utility functions go in this object
|
||||
@@ -447,7 +447,8 @@ var px = (function() {
|
||||
}
|
||||
}
|
||||
var obj = parent.append(
|
||||
'<input class="' + $(this).attr('class') + '" name="'+ name +'" type="text" value="' + selected + '">');
|
||||
'<input class="' + $(this).attr('class') + '" name="'+ name +'" type="text" value="' + selected + '">'
|
||||
);
|
||||
$("input[name='" + name +"']").select2({
|
||||
createSearchChoice: create_choices,
|
||||
initSelection: initSelectionToValue,
|
||||
|
||||
Reference in New Issue
Block a user