diff --git a/js/app/mappage.js b/js/app/mappage.js
index a72015fb..8e73ff45 100644
--- a/js/app/mappage.js
+++ b/js/app/mappage.js
@@ -35,6 +35,9 @@ define([
// set default select2 config
Util.initDefaultSelect2Config();
+ // set default xEditable config
+ Util.initDefaultEditableConfig();
+
// load page
// load info (maintenance) info panel (if scheduled)
$('body').loadPageStructure().setGlobalShortcuts();
diff --git a/js/app/util.js b/js/app/util.js
index 312c0627..1f6aa1f9 100644
--- a/js/app/util.js
+++ b/js/app/util.js
@@ -963,7 +963,7 @@ define([
};
/**
- * set default configuration for "Bootbox"
+ * set default configuration for "Bootbox"
*/
let initDefaultBootboxConfig = () => {
bootbox.setDefaults({
@@ -972,7 +972,7 @@ define([
};
/**
- * set default configuration for "Select2"
+ * set default configuration for "Select2"
*/
let initDefaultSelect2Config = () => {
$.fn.select2.defaults.set('theme', 'pathfinder');
@@ -1044,6 +1044,20 @@ define([
});
};
+ /**
+ * set default configuration for "xEditable"
+ */
+ let initDefaultEditableConfig = () => {
+ // use fontAwesome buttons
+ $.fn.editableform.buttons =
+ ''+
+ '';
+ };
+
/**
* get the current main trigger delay for the main trigger functions
* optional in/decrease the delay
@@ -2577,6 +2591,7 @@ define([
initPrototypes: initPrototypes,
initDefaultBootboxConfig: initDefaultBootboxConfig,
initDefaultSelect2Config: initDefaultSelect2Config,
+ initDefaultEditableConfig: initDefaultEditableConfig,
getCurrentTriggerDelay: getCurrentTriggerDelay,
getServerTime: getServerTime,
convertTimestampToServerTime: convertTimestampToServerTime,
diff --git a/public/js/v1.3.6/app/mappage.js b/public/js/v1.3.6/app/mappage.js
index a72015fb..8e73ff45 100644
--- a/public/js/v1.3.6/app/mappage.js
+++ b/public/js/v1.3.6/app/mappage.js
@@ -35,6 +35,9 @@ define([
// set default select2 config
Util.initDefaultSelect2Config();
+ // set default xEditable config
+ Util.initDefaultEditableConfig();
+
// load page
// load info (maintenance) info panel (if scheduled)
$('body').loadPageStructure().setGlobalShortcuts();
diff --git a/public/js/v1.3.6/app/util.js b/public/js/v1.3.6/app/util.js
index 312c0627..1f6aa1f9 100644
--- a/public/js/v1.3.6/app/util.js
+++ b/public/js/v1.3.6/app/util.js
@@ -963,7 +963,7 @@ define([
};
/**
- * set default configuration for "Bootbox"
+ * set default configuration for "Bootbox"
*/
let initDefaultBootboxConfig = () => {
bootbox.setDefaults({
@@ -972,7 +972,7 @@ define([
};
/**
- * set default configuration for "Select2"
+ * set default configuration for "Select2"
*/
let initDefaultSelect2Config = () => {
$.fn.select2.defaults.set('theme', 'pathfinder');
@@ -1044,6 +1044,20 @@ define([
});
};
+ /**
+ * set default configuration for "xEditable"
+ */
+ let initDefaultEditableConfig = () => {
+ // use fontAwesome buttons
+ $.fn.editableform.buttons =
+ ''+
+ '';
+ };
+
/**
* get the current main trigger delay for the main trigger functions
* optional in/decrease the delay
@@ -2577,6 +2591,7 @@ define([
initPrototypes: initPrototypes,
initDefaultBootboxConfig: initDefaultBootboxConfig,
initDefaultSelect2Config: initDefaultSelect2Config,
+ initDefaultEditableConfig: initDefaultEditableConfig,
getCurrentTriggerDelay: getCurrentTriggerDelay,
getServerTime: getServerTime,
convertTimestampToServerTime: convertTimestampToServerTime,