Working on Allowing user to save an Edit

I have created a function in the documents controller. Working on
allowing the user to save edits. I am creating a form with various
inputs of the old document like the id the title and everything else
stays  the same the only new info is the edited document. I then post
that to the new function and then save the doc that way.
User's can now edit and save changes to document.

I have it so that the user can now edit the document. The user will
select the document in the grid they will be then presented with a
document preview. Then the user will then select the edit document
button. From there the user can edit the document then save.

The issue I am having now is I’m get some error when selecting
different documents in the grid has something to do with signature.
Fixed Propagated Click Event
Added Try-Catch to catch the JSON.parse error

No I catch the JSON error i had before. Works fine.
Changed the Kendo Editor to regular Text box

Fixed the issue with the Kendo editor the kendo editor was giving back
html which i didn’t want it to to. Now its a basic text box.
Password are now md5() encrypted

Added md5() encryption to the passwords when a user is newly created
the password is md5() encrypted and then stored in the database. When
the users logs back on the password is md5() hashed and checked against
the md5() hash in the database if match then alls is good and user is
permitted to log on.
Added field to documents that shows approval

added a field that will be either true or false for an admin to approve
later on.
Added new Panel for Admin only

This panel is for Admins to see what docs need to be approved.
Fixed and Stripped docapprov.php

Fixed docapprov.php so that it does not interfere with the
signatures.php editing and saving feature. Now I’m building
docapprov.php from the ground up.
docapprov.php now mirrors signatures.php

I docapprov is now the same as signatures.php. Now I will change the
button fro edit/save to just approve. Which will post to the
controller.
Admin's Can now approve docs

Admins can now approve docs.
Admin now only sees docs that need approval
[nothing]
Fixed issue where user was seeing wrong stuff

The user was always seeing the documents that need to be approved in
every tab that they chose. I fixed this by adding this under the if
statement in the main.php view that checks if the user is an admin. The
project is pretty much done pending further testing.
Merge branch 'Testing'