Fix the Ajax "reloadPagetree" and "reloadFiletree" commands

The "load_callback" expects the current value as argument, not the new value. The attributes array was missing the active record, which is available upon regular requests but has not been upon Ajax requests.