File: /www/wwwroot/oa.sanjiangapp.com/app/cash/balance/js/common.js
$(document).ready(function()
{
$.setAjaxForm('#balanceForm', function(response)
{
if(response.result == 'success')
{
if(response.balanceChanged) $('#balanceForm').parents('#ajaxModal').addClass('reload-after-hide');
$.reloadAjaxModal();
}
});
$('#menu a[href*=balance]').parent().addClass('active');
$(document).on('change', '#depositor', function()
{
currency = $(this).find('option:selected').attr('data-currency')
$('.currency').html(v.currencyList[currency]);
})
$('#depositor').change();
})