Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.handleEditLink = function() {
- var field_id = name, edit_id = name + "_edit", revert_id = name + "_revert";
- $('body').append('<div id="' + revert_id + '">' + container.html() + '</div>');
- this.revert = $('#' + revert_id);
- container.html($("#" + edit_id).html());
- obj = this;
- container.children('.in_place_cancel_link').click(function() {
- obj.handleCancelLink();
- });
- container.children('.in_place_save_link').click(function() {
- obj.handleSaveLink();
- });
- };
Add Comment
Please, Sign In to add comment