MCPcopy
hub / github.com/pyload/pyload / indicateFail

Function indicateFail

module/web/media/js/pyplex/base.js:29–42  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

27}
28
29function indicateFail(message) {
30 if(message === undefined) {
31 message = "{{_('Failed')}}";
32 }
33
34 indicateFinish();
35 var bar = new $.peekABar({
36 html: "<h4>" + message + '.' + "</h4>",
37 padding: "6px",
38 backgroundColor: '#FF4500',
39 autohide: true
40 });
41 bar.show();
42}
43
44function humanFileSize(f) {
45 var c, d, e, b;

Callers 5

admin.jsFile · 0.70
PackageUIFunction · 0.70
PackageFunction · 0.70
settings.jsFile · 0.70
base.jsFile · 0.70

Calls 1

indicateFinishFunction · 0.70

Tested by

no test coverage detected