Sha256: 4bb4961acff324a0b8e0d89cc2a7ba57ce7fa2a33c5bde97ec637d6e11601953
Contents?: true
Size: 714 Bytes
Versions: 8
Compression:
Stored size: 714 Bytes
Contents
/*! SmartAdmin - v1.5 - 2014-09-27 */!function(a){"use strict";var b=function(a){this.init("typeaheadjs",a,b.defaults)};a.fn.editableutils.inherit(b,a.fn.editabletypes.text),a.extend(b.prototype,{"render":function(){this.renderClear(),this.setClass(),this.setAttr("placeholder"),this.$input.typeahead(this.options.typeahead),"bs3"===a.fn.editableform.engine&&(this.$input.hasClass("input-sm")&&this.$input.siblings("input.tt-hint").addClass("input-sm"),this.$input.hasClass("input-lg")&&this.$input.siblings("input.tt-hint").addClass("input-lg"))}}),b.defaults=a.extend({},a.fn.editabletypes.list.defaults,{"tpl":'<input type="text">',"typeahead":null,"clear":!0}),a.fn.editabletypes.typeaheadjs=b}(window.jQuery);
Version data entries
8 entries across 8 versions & 1 rubygems