[Fix]Firefox was showing 0 error on alert-dismissable div after ajax call for tablesave, also added code not to redirect to generate pdf until sorted table ajax called is done. 
[Fix]Firefox was showing 0 error on alert-dismissable div after ajax call for tablesave, also added code not to redirect to generate pdf until sorted table ajax called is done. 

git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@59597 b456876b-0849-0410-b77d-98878d47e9d5

tikiorg/tiki,tikiorg/tiki,oregional/tiki,tikiorg/tiki,oregional/tiki,oregional/tiki,oregional/tiki,tikiorg/tiki