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

Marcel Korpel marcel.korpel at gmail.com
Tue Jul 21 15:59:31 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 (3):
  pkg_comment_form.php: Make printing of header conditional
  aurjson.class.php: Add method load_comment
  pkg_comments.php: Add JavaScript function to edit comments

 web/html/css/aurweb.css           |   6 ++++++
 web/html/images/ajax-loader.gif   | Bin 0 -> 723 bytes
 web/html/index.php                |   4 ++++
 web/lib/aurjson.class.php         |  26 +++++++++++++++++++++++++-
 web/template/pkg_comment_form.php |   5 +++++
 web/template/pkg_comments.php     |  30 ++++++++++++++++++++++++++++++
 6 files changed, 70 insertions(+), 1 deletion(-)
 create mode 100644 web/html/images/ajax-loader.gif

-- 
2.4.6


More information about the aur-dev mailing list