mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Bundle web-ui v3.1.0a1
This commit is contained in:
7 files changed
+463
-23
No files matched your search
@@ -190,11 +190,11 @@ function check_image_decode(
|
||||
fail_callback
|
||||
) {
|
||||
if (console) {
|
||||
console.info(
|
||||
"checking",
|
||||
format,
|
||||
`with test image: ${image_bytes.length} bytes`
|
||||
);
|
||||
// console.info(
|
||||
// "checking",
|
||||
// format,
|
||||
// `with test image: ${image_bytes.length} bytes`
|
||||
// );
|
||||
}
|
||||
try {
|
||||
const timer = setTimeout(function() {
|
||||
|
||||
@@ -24,19 +24,19 @@ $(function() {
|
||||
onAction,
|
||||
onClose
|
||||
) {
|
||||
console.debug(
|
||||
"doNotification",
|
||||
type,
|
||||
nid,
|
||||
title,
|
||||
message,
|
||||
timeout,
|
||||
icon,
|
||||
actions,
|
||||
hints,
|
||||
onAction,
|
||||
onClose
|
||||
);
|
||||
// console.debug(
|
||||
// "doNotification",
|
||||
// type,
|
||||
// nid,
|
||||
// title,
|
||||
// message,
|
||||
// timeout,
|
||||
// icon,
|
||||
// actions,
|
||||
// hints,
|
||||
// onAction,
|
||||
// onClose
|
||||
// );
|
||||
const nID = `notification${nid}`;
|
||||
const a = $(
|
||||
`<div id="${nID}" class="alert ${type}">` +
|
||||
|
||||
@@ -908,17 +908,17 @@ const LANGUAGE_TO_LAYOUT = {
|
||||
};
|
||||
|
||||
function console_debug_safe() {
|
||||
if (console) console.debug.apply(console, arguments);
|
||||
// if (console) console.debug.apply(console, arguments);
|
||||
}
|
||||
|
||||
function console_error_safe() {
|
||||
if (console) console.error.apply(console, arguments);
|
||||
// if (console) console.error.apply(console, arguments);
|
||||
}
|
||||
|
||||
function console_warn_safe() {
|
||||
if (console) console.warn.apply(console, arguments);
|
||||
// if (console) console.warn.apply(console, arguments);
|
||||
}
|
||||
|
||||
function console_log_safe() {
|
||||
if (console) console.log.apply(console, arguments);
|
||||
// if (console) console.log.apply(console, arguments);
|
||||
}
|
||||
Reference in new issue
Block a user