Fix slider code

This commit is contained in:
YNH Webdev
2013-10-30 13:14:48 +01:00
parent 4b11bbb73d
commit a979bf24d4
2 changed files with 18 additions and 1 deletions

View File

@@ -264,6 +264,9 @@ class WSF_PAGE_CONTROL extends WSF_CONTROL
console.log "Removed #{@control_name}" console.log "Removed #{@control_name}"
@$el.remove() @$el.remove()
class WSF_SLIDER_CONTROL extends WSF_CONTROL
requirements: ['assets/bootstrap.min.js']
controls = {} controls = {}
class WSF_BUTTON_CONTROL extends WSF_CONTROL class WSF_BUTTON_CONTROL extends WSF_CONTROL

View File

@@ -1,5 +1,5 @@
// Generated by CoffeeScript 1.6.1 // Generated by CoffeeScript 1.6.1
var Mini, WSF_AUTOCOMPLETE_CONTROL, WSF_BUTTON_CONTROL, WSF_CHECKBOX_CONTROL, WSF_CHECKBOX_LIST_CONTROL, WSF_CODEVIEW_CONTROL, WSF_CONTROL, WSF_FORM_ELEMENT_CONTROL, WSF_GRID_CONTROL, WSF_HTML_CONTROL, WSF_INPUT_CONTROL, WSF_MAX_VALIDATOR, WSF_MIN_VALIDATOR, WSF_PAGE_CONTROL, WSF_PAGINATION_CONTROL, WSF_PROGRESS_CONTROL, WSF_REGEXP_VALIDATOR, WSF_REPEATER_CONTROL, WSF_TEXTAREA_CONTROL, WSF_VALIDATOR, build_control, cache, controls, lazy_load, loaded, show_alert, start_modal, start_modal_big, template, tmpl, var Mini, WSF_AUTOCOMPLETE_CONTROL, WSF_BUTTON_CONTROL, WSF_CHECKBOX_CONTROL, WSF_CHECKBOX_LIST_CONTROL, WSF_CODEVIEW_CONTROL, WSF_CONTROL, WSF_FORM_ELEMENT_CONTROL, WSF_GRID_CONTROL, WSF_HTML_CONTROL, WSF_INPUT_CONTROL, WSF_MAX_VALIDATOR, WSF_MIN_VALIDATOR, WSF_PAGE_CONTROL, WSF_PAGINATION_CONTROL, WSF_PROGRESS_CONTROL, WSF_REGEXP_VALIDATOR, WSF_REPEATER_CONTROL, WSF_SLIDER_CONTROL, WSF_TEXTAREA_CONTROL, WSF_VALIDATOR, build_control, cache, controls, lazy_load, loaded, show_alert, start_modal, start_modal_big, template, tmpl,
__hasProp = {}.hasOwnProperty, __hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
@@ -429,6 +429,20 @@ WSF_PAGE_CONTROL = (function(_super) {
})(WSF_CONTROL); })(WSF_CONTROL);
WSF_SLIDER_CONTROL = (function(_super) {
__extends(WSF_SLIDER_CONTROL, _super);
function WSF_SLIDER_CONTROL() {
return WSF_SLIDER_CONTROL.__super__.constructor.apply(this, arguments);
}
WSF_SLIDER_CONTROL.prototype.requirements = ['assets/bootstrap.min.js'];
return WSF_SLIDER_CONTROL;
})(WSF_CONTROL);
controls = {}; controls = {};
WSF_BUTTON_CONTROL = (function(_super) { WSF_BUTTON_CONTROL = (function(_super) {