Go to the source code of this file.
elgg register_hook_handler |
( |
'init' |
, |
|
|
'system' |
, |
|
|
elgg.comments. |
init |
|
) |
| |
Initial value:=
function (guid,
item) {
this.guid = guid;
}
- Parameters
-
{Number} | guid |
{jQuery} | item |
Definition at line 9 of file comments.js.
Initial value:= function() {
$(
document).
on(
'click',
'.elgg-item-object-comment .elgg-menu-item-edit > a',
function () {
var dc = $(this).data('Comment'),
guid;
if (!dc) {
guid = this.href.split('/').pop();
dc =
new elgg.comments.Comment(guid, $(
this).closest(
'.elgg-item-object-comment'));
$(this).data('Comment', dc);
}
dc.toggleEdit();
return false;
});
}
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed on
GNU GENERAL PUBLIC LICENSE June Free Software Inc Franklin Fifth MA USA Everyone is permitted to copy and distribute verbatim copies of this license document
Initialize comment inline editing.
- Returns
- void
Definition at line 122 of file comments.js.