flavour/eden — pull request #505 by somayjain (2013-06-10 07:21:49+00:00)
Title: Made Ids of search and report tables as datatable

Made the ids of search and report tables as 'datatable'.

At some places, this was 'list' and at others, it was 'datatable', hence breaking tests.

This can be seen here - http://127.0.0.1:8000/eden/org/organisation and http://127.0.0.1:8000/eden/hrm/staff/search

The test code is modified accordingly to handle id = datatable.

Also, a fix is provided for SendItem, ReceiveItem, SendReceiveItem by checking for login before clicking the add button, else the page refreshes and there is no use clicking the add button before checking login.