Sha256: db810e1499d84a3bf811c3dc074a98465a38d9a973e36217c068dea92221af92

Contents?: true

Size: 1.7 KB

Versions: 10

Compression:

Stored size: 1.7 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=403011e093a0bea7d3259bff1fa89e2e977129842095973227f10c162de7c605: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:integrityI"9sha-256-dReswpKSF9akWSfPbyIDybc7vFQbmIR8Xk1SGuDavzM=;T:dependencies_digest"%IKCQ5Ǫd[+UY]:idI"E403011e093a0bea7d3259bff1fa89e2e977129842095973227f10c162de7c605;F:
mtimel+xTU

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
templus_models-1.2.6 test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7C9Ylg3mowOkxk8QdDBdWidoTLVkf6-P3lNALl1T4E.cache
templus_models-1.2.5 test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7C9Ylg3mowOkxk8QdDBdWidoTLVkf6-P3lNALl1T4E.cache
templus_models-1.2.4 test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7C9Ylg3mowOkxk8QdDBdWidoTLVkf6-P3lNALl1T4E.cache
templus_models-1.2.3 test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7C9Ylg3mowOkxk8QdDBdWidoTLVkf6-P3lNALl1T4E.cache
templus_models-1.2.2 test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7C9Ylg3mowOkxk8QdDBdWidoTLVkf6-P3lNALl1T4E.cache
templus_models-1.2.1 test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7C9Ylg3mowOkxk8QdDBdWidoTLVkf6-P3lNALl1T4E.cache
templus_models-1.2.0 test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7C9Ylg3mowOkxk8QdDBdWidoTLVkf6-P3lNALl1T4E.cache
templus_models-1.0.6 test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7C9Ylg3mowOkxk8QdDBdWidoTLVkf6-P3lNALl1T4E.cache
templus_models-1.0.5 test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7C9Ylg3mowOkxk8QdDBdWidoTLVkf6-P3lNALl1T4E.cache
templus_models-1.0.4 test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7C9Ylg3mowOkxk8QdDBdWidoTLVkf6-P3lNALl1T4E.cache