Add frontend assets and plugin bundles
Add the legacy frontend themes, scripts, and plugin assets required by the main SPOTA interfaces.
This commit is contained in:
27
assets/plugins/jQRangeSlider/demo/editSliderDemo.js
Normal file
27
assets/plugins/jQRangeSlider/demo/editSliderDemo.js
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
(function($, undefined){
|
||||
"use strict";
|
||||
|
||||
$.widget("ui.editSliderDemo", $.ui.sliderDemo, {
|
||||
_title: "Editable slider",
|
||||
_name: "editRangeSlider",
|
||||
|
||||
_createOptions: function(){
|
||||
$.ui.sliderDemo.prototype._createOptions.apply(this);
|
||||
|
||||
this._createInputTypeOption();
|
||||
},
|
||||
|
||||
_createInputTypeOption: function(){
|
||||
this._createDT("Input type");
|
||||
var select = $("<select name='type'></select>")
|
||||
.append("<option value='number'>number</option>")
|
||||
.append("<option value='text' selected='selected'>text</option>");
|
||||
|
||||
this._createDD(select);
|
||||
|
||||
select.change($.proxy(this._easyOptionChange, this));
|
||||
}
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user