summaryrefslogtreecommitdiffstats
path: root/modules-available/roomplanner/js
diff options
context:
space:
mode:
authorSimon Rettberg2016-12-07 14:56:37 +0100
committerSimon Rettberg2016-12-07 14:56:37 +0100
commit77166978b27b9eb671c905db5f98dbfed47de768 (patch)
treedba53261d035af8413b0696ad9d197b40f6914fe /modules-available/roomplanner/js
parent[sysconfig] remove broken quotation when listing the content of a config (diff)
downloadslx-admin-77166978b27b9eb671c905db5f98dbfed47de768.tar.gz
slx-admin-77166978b27b9eb671c905db5f98dbfed47de768.tar.xz
slx-admin-77166978b27b9eb671c905db5f98dbfed47de768.zip
[roomplanner] Fix clipped tooltips, add border to PCs
Diffstat (limited to 'modules-available/roomplanner/js')
-rw-r--r--modules-available/roomplanner/js/grid.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/roomplanner/js/grid.js b/modules-available/roomplanner/js/grid.js
index 09e52099..cc09e21d 100644
--- a/modules-available/roomplanner/js/grid.js
+++ b/modules-available/roomplanner/js/grid.js
@@ -97,14 +97,14 @@ if (!roomplanner) var roomplanner = {
});
},
initTooltip: function(el) {
- if ($(el).attr('itemtype') == 'pc') {
+ if ($(el).attr('itemtype') === 'pc') {
var tip = "<b>Rechnerdaten</b><br>";
$(roomplanner.computerAttributes).each(function(i,key){
tip += __(key)+": "+$(el).attr(key)+"<br>";
});
- $(el).attr('title', tip);
- $(el).tooltip({html: true});
+ $(el).attr('title', tip).attr('data-toggle', 'tooltip');
+ $(el).tooltip({html: true, container: 'body'});
}
},
/**