object_auth change to reload

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-10-04 18:20:21 +08:00
1 parent ae48ab5cbd
commit e67ca84282
3 files changed
+7 -9

No files matched your search

@@ -45,13 +45,8 @@ $(document).ready(function() {
}
});
$('#category_id').change(function() {
$.ajax({
type: 'GET',
dataType: "script",
url:$(this).parents("from").attr("href"),
data:$(this).parents("form").serialize()
});
$('#ob_auth_id').change(function() {
window.location.href = "/admin/object_auths/"+$(this).val()+"/new_interface?app_key="+$("#app_key").val();
});
});
</script>