Sha256: e7a78db4e71ec4e9a73564849a1a0b05b6ba780a48d32cdd4501e7fc1a736322

Contents?: true

Size: 1.63 KB

Versions: 17

Compression:

Stored size: 1.63 KB

Contents

{:uriI"àfile:///Users/leonardo/ProjetosRaro/engines/templus_models/test/dummy/app/assets/javascripts/crud/cidade_estado.js?type=application/javascript&pipeline=self&id=4e0649810448e929bb0ba5a82aa83f60bbdfa921852b18a413a96abfbc64ef08: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.self.js;T:content_typeI"application/javascript;T:sourceI"à$(document).ready(function (){
	$("select[id$='_estado']").on('change', function() {
		$.getJSON('/api/cidades/busca?estado_id=' + $(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"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"~file-digest:///Users/leonardo/ProjetosRaro/engines/templus_models/test/dummy/app/assets/javascripts/crud/cidade_estado.js;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%u¬Â’’Ö¤Y'Ïo"É·;¼T˜„|^MRàÚ¿3:lengthià:dependencies_digest"%yÎþÛ[Vsaa÷ùêö“0.!%‘/—$ñPº7¡í:idI"E4e0649810448e929bb0ba5a82aa83f60bbdfa921852b18a413a96abfbc64ef08;F:
mtimel+&ƒU

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
templus_models-1.5.14 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.12 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.11 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.10 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.9 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.8 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.7 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.6 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.5 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.4 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.3 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.2 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.1 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.5.0 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.4.4 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.4.3 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache
templus_models-1.4.2 test/dummy/tmp/cache/assets/development/sprockets/v3.0/TJY-KRtsOPgmMrSo3UVhhUvo43PCE1e43axpWIMvXyI.cache