put view arg in loading callback (issue 1018)