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

Marcel Korpel marcel.korpel at gmail.com
Tue Jul 21 20:53:53 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 (4):
  pkg_comments.php: Merge two DIVs with same ID
  Split pkg_comment_form.php so the outer box is not always included
  aurjson.class.php: Add method get_comment_form()
  pkg_comments.php: Add JavaScript function to edit comments

 web/html/commentedit.php          |   2 +-
 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         |  51 +++++++++++++++++++++++++++++++++++++-
 web/lib/pkgbasefuncs.inc.php      |   2 +-
 web/lib/pkgfuncs.inc.php          |   2 +-
 web/template/pkg_comment_box.php  |   4 +++
 web/template/pkg_comment_form.php |   4 ---
 web/template/pkg_comments.php     |  39 ++++++++++++++++++++++++++---
 10 files changed, 103 insertions(+), 11 deletions(-)
 create mode 100644 web/html/images/ajax-loader.gif
 create mode 100644 web/template/pkg_comment_box.php

-- 
2.4.6


More information about the aur-dev mailing list