META-INF.modules.component.rjzjh.sellang.js Maven / Gradle / Ivy
define([ "jquery", "core" ], function($, core) {
$(function() {
$('#lang').change(function() {
$.post($(this).attr("chang-lang-url"), {
lang : $(this).val()
}, function(data) {
top.location.href = data.url;
});
});
});
});