Files
Unify/application/demo/comment/edit/comment.saveButton.js

37 lines
543 B
JavaScript
Raw Permalink Normal View History

2025-12-25 11:16:59 +01:00
import button from '/elements/button.js';
import tools from '/unify/tools.js';
export default class saveEditButton extends button {
text = "Save Message";
display = "none";
userContract;
async click( event ){
var result = await this.socketManager.get( "table", "save", this, "sign" );
this.parent.id = false;
this.hide();
this.parent._information._editButton.show();
this.parent.body.useCustomElement = false;
//this.parent.background = "#cdf0ce";
}
}