change enable diag form api to use code
Merge branch 'master' of https://github.com/asifhussain60/ALIST