Skip to content

Commit

Permalink
Compiled assets
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelAlphonso committed Apr 23, 2019
1 parent 7ba8fb6 commit bca721c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion assets/dist/scripts/charcoal.admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -7793,6 +7793,10 @@ Charcoal.Admin.Property_Input_SelectPicker.prototype.create_select = function ()
};

Selectize.prototype.load_items = function (query, callback) {
if (!query.length && this.selectize_options.preload === false) {
return callback();
}

var type = this.obj_type;
var selectize_property_ident = this.selectize_property_ident;
var selectize_obj_type = this.selectize_obj_type;
Expand All @@ -7805,8 +7809,14 @@ Charcoal.Admin.Property_Input_SelectPicker.prototype.create_select = function ()
selectize_property: selectize_property
};

var url = Charcoal.Admin.admin_url() + 'selectize/load';

if (query) {
url += '/' + encodeURIComponent(query);
}

$.ajax({
url: Charcoal.Admin.admin_url() + 'selectize/load',
url: url,
data: form_data,
type: 'GET',
error: function () {
Expand Down
2 changes: 1 addition & 1 deletion assets/dist/scripts/charcoal.admin.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/dist/styles/charcoal.admin.vendors.css

Large diffs are not rendered by default.

0 comments on commit bca721c

Please sign in to comment.