sandbox/tmp/cache/assets/CC3/930/sprockets%2F7e2c9302e5050f66e888725be83f862d in iugu-ux-0.9.9 vs sandbox/tmp/cache/assets/CC3/930/sprockets%2F7e2c9302e5050f66e888725be83f862d in iugu-ux-1.0.0

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372772481.117152: @value"¼{I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1373285457.589961: @value"ô{I" class:EFI"ProcessedAsset;FI"logical_path;F"3iugu-ux/components/usecode/iugu-ui-combobox.jsI" pathname;F"{/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffeeI"content_type;FI"application/javascript;FI" -mtime;FI"2013-07-02T10:12:40-03:00;FI" length;FiI" digest;F"%9524e50a4a39f91e65a1d0cf06759351I" source;FI"(function() { +mtime;FI"2013-07-05T18:24:48-03:00;FI" length;FiMI" digest;F"%c48bbab931ce5d0520d58bd634308de7I" source;FI"M(function() { IuguUI.Combobox = (function() { Combobox.prototype.defaults = { none: false, displayCurrentSelection: false, markSelected: false @@ -128,11 +128,11 @@ return this.change(this.input_holder.val(), this.input_holder.find("option:selected").text()); }; Combobox.prototype.mark_selected = function() { this.el.find("ul a").removeClass("selected"); - return this.el.find('ul [data-value="' + this.caller_element.data("value") + '"]').addClass("selected"); + return this.el.find('ul [data-value="' + this.caller_element.data("internal-value") + '"]').addClass("selected"); }; Combobox.prototype.change = function(value, title) { if (this.options.displayCurrentSelection) { this.caller_element.html(title); @@ -144,10 +144,11 @@ this.mark_selected(); } } if (this.input_holder && this.input_holder.is("select") && value !== this.input_holder.find("option:selected").val()) { this.input_holder.val(value); + this.input_holder.trigger("change"); } } return this.close_menu(); }; @@ -164,7 +165,7 @@ $(function() { return IuguUI.Combobox.load(); }); }).call(this); -;TI"dependency_digest;F"%e2bc744a38fb31194e2302f9c193f6a5I"required_paths;F["{/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffeeI"dependency_paths;F[{I" path;F"{/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffeeI" -mtime;FI"2013-07-02T10:12:40-03:00;FI" digest;F"%b9cd539ae6d91e9159110325a52c3173I" _version;F"%6776f581a4329e299531e1d52aa59832 +;TI"dependency_digest;F"%7a8a8ade2108af6572495625e4488656I"required_paths;F["{/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffeeI"dependency_paths;F[{I" path;F"{/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffeeI" +mtime;FI"2013-07-05T18:24:48-03:00;FI" digest;F"%56d580cf0dc4f43669eadd8739b9cf9aI" _version;F"%6776f581a4329e299531e1d52aa59832 \ No newline at end of file