MCPcopy Create free account
hub / github.com/TruthHun/BookStack / showSuccess

Function showSuccess

static/js/editor.js:195–201  ·  view source on GitHub ↗
($msg,$id)

Source from the content-addressed store, hash-verified

193}
194
195function showSuccess($msg,$id) {
196 if(!$id){
197 $id = "#form-error-message"
198 }
199 $($id).addClass("success-message").removeClass("error-message").text($msg);
200 return true;
201}
202
203window.documentHistory = function() {
204 layer.open({

Callers

nothing calls this directly

Calls 2

textMethod · 0.80
$Function · 0.50

Tested by

no test coverage detected