[aur-dev] [PATCH v3 0/4] Add JavaScript method to edit comments
Marcel Korpel
marcel.korpel at gmail.com
Tue Jul 21 19:56:55 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 load_comment
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 | 43 +++++++++++++++++++++++++++++++++++++-
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 | 43 +++++++++++++++++++++++++++++++++-----
10 files changed, 97 insertions(+), 13 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