Sha256: 2e93a685bbfeedc867e266e6b172c15707e274b2316cdb1bd2bc2ec0876a7087
Contents?: true
Size: 1.96 KB
Versions: 10
Compression:
Stored size: 1.96 KB
Contents
{:uriI"file:///Users/leonardo/ProjetosRaro/engines/templus_models/test/dummy/app/assets/javascripts/crud/cidade_estado.js?type=application/javascript&id=d7cc1178fd762c4f191c816c56af68fff73a4fd12a68ba1cc8d680f7f4dcb78f:ET:load_pathI"Z/Users/leonardo/ProjetosRaro/engines/templus_models/test/dummy/app/assets/javascripts;F: filenameI"p/Users/leonardo/ProjetosRaro/engines/templus_models/test/dummy/app/assets/javascripts/crud/cidade_estado.js;T: nameI"crud/cidade_estado;T:logical_pathI"crud/cidade_estado.js;T:content_typeI"application/javascript;T:sourceI"$(document).ready(function (){ $("select[id$='_estado']").on('change', function() { $.getJSON('/api/cidades/busca?estado=' + $(this).val(), { format: 'json' }, function(data) { var i, options; options = ""; i = 0; while (i < data.length) { options += "<option value='" + data[i].id + "'>" + data[i].nome + "</option>"; i++; } $("select[id$='cidade_id']").html(options).show(); $("select[id$='cidade_id']").trigger('select'); }); }); }); ;T: metadata{:dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"~file-digest:///Users/leonardo/ProjetosRaro/engines/templus_models/test/dummy/app/assets/javascripts/crud/cidade_estado.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TT: linkso;;{ : included[I"file:///Users/leonardo/ProjetosRaro/engines/templus_models/test/dummy/app/assets/javascripts/crud/cidade_estado.js?type=application/javascript&pipeline=self&id=c7820d1fdeccf5c3ec27b2561a90471402c3b0959a6e492932e80bbe76644b9d;T:charsetI" utf-8;F:digest"%vH6V"ʍӛ] W,֬:lengthi:integrityI"9sha-256-p852n5CFSOw2qVYiyo3Tmxhd3wDJ4p8XV8ksleSY1qw=;T:dependencies_digest"%h0AŇb5ݐ;WQ+iFkR:idI"Ed7cc1178fd762c4f191c816c56af68fff73a4fd12a68ba1cc8d680f7f4dcb78f;F: mtimel+"oU
Version data entries
10 entries across 10 versions & 1 rubygems