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

Function showSuccess

static/js/main.js:11–17  ·  view source on GitHub ↗
($msg,$id)

Source from the content-addressed store, hash-verified

9}
10
11function showSuccess($msg,$id) {
12 if(!$id){
13 $id = "#form-error-message"
14 }
15 $($id).addClass("success-message").removeClass("error-message").text($msg);
16 return true;
17}
18
19Date.prototype.format = function(fmt) {
20 var o = {

Callers

nothing calls this directly

Calls 2

textMethod · 0.80
$Function · 0.50

Tested by

no test coverage detected