[aur-dev] [PATCH 0/5] Add JavaScript method to edit comments

Marcel Korpel marcel.korpel at gmail.com
Mon Jul 20 22:08:43 UTC 2015

For a better user experience, enhance the comment edit form with a
JavaScript method to edit comments on the same page, using a
customized RPC interface. If JavaScript is not available, the page
falls back to a standard web page, where a user can edit a comment.

Marcel Korpel (5):
  rpc.php: Allow POST method in RPC interface
  Refactor pkgbase_edit_comment() to use parameter comment ID
  pkg_comment_form.php: Make printing of header conditional
  aurjson.class.php: Add methods load_comment and save_comment
  pkg_comments.php: Add JavaScript function to edit comments

 web/html/pkgbase.php              |  8 +++++---
 web/html/rpc.php                  |  5 ++++-
 web/lib/aurjson.class.php         | 35 ++++++++++++++++++++++++++++++++++-
 web/lib/pkgbasefuncs.inc.php      |  8 +-------
 web/template/pkg_comment_form.php |  7 ++++++-
 web/template/pkg_comments.php     | 25 +++++++++++++++++++++++++
 6 files changed, 75 insertions(+), 13 deletions(-)


More information about the aur-dev mailing list