diff --git a/front/src/css/rule.css b/front/src/css/rule.css
index 2a2dce0..d346bca 100644
--- a/front/src/css/rule.css
+++ b/front/src/css/rule.css
@@ -109,6 +109,7 @@
border-bottom-left-radius: 0.4em;
border-bottom-right-radius: 0.4em;
border-top: 1px solid #999;
+ z-index: 2;
}
.offenders .offenderButton .domTree {
text-align: left;
diff --git a/front/src/css/timeline.css b/front/src/css/timeline.css
index 9c3a0cd..f299479 100644
--- a/front/src/css/timeline.css
+++ b/front/src/css/timeline.css
@@ -268,7 +268,7 @@ input.textFilter {
background: #fff;
border: 2px solid #f1c40f;
border-radius: 0.5em;
- z-index: 1;
+ z-index: 2;
}
@media screen and (max-width: 1024px) {
.detailsOverlay {
diff --git a/front/src/js/controllers/timelineCtrl.js b/front/src/js/controllers/timelineCtrl.js
index 4351ae6..2d352d3 100644
--- a/front/src/js/controllers/timelineCtrl.js
+++ b/front/src/js/controllers/timelineCtrl.js
@@ -187,6 +187,15 @@ timelineCtrl.controller('TimelineCtrl', ['$scope', '$rootScope', '$routeParams',
node.showDetails = !isOpen;
};
+ $scope.isStringOfObject = function(str) {
+ return typeof str === 'string' && str[0] === '{' && str[str.length - 1] === '}';
+ };
+
+ $scope.isPureString = function(str) {
+ return typeof str === 'string' && str[0] !== '{' && str !== '(function)' && str !== '[Object]' && str !== '[Array]' && str !== 'true' && str !== 'false' && str !== 'undefined' && str !== 'unknown';
+ };
+
+
$scope.backToDashboard = function() {
$location.path('/result/' + $scope.runId);
};
diff --git a/front/src/js/directives/offendersDirectives.js b/front/src/js/directives/offendersDirectives.js
index cb691d0..e430ddf 100644
--- a/front/src/js/directives/offendersDirectives.js
+++ b/front/src/js/directives/offendersDirectives.js
@@ -43,6 +43,17 @@ offendersDirectives.directive('domElementButton', function() {
};
});
+offendersDirectives.directive('jqueryContextButton', function() {
+ return {
+ restrict: 'E',
+ scope: {
+ context: '='
+ },
+ templateUrl: 'views/jqueryContextButton.html',
+ replace: true
+ };
+});
+
offendersDirectives.filter('shortenUrl', function() {
return function(url, maxLength) {
if (!maxLength) {
@@ -104,8 +115,6 @@ offendersDirectives.directive('offenderButton', function() {
restrict: 'C',
link: function(scope, element, attrs) {
- console.log('initializing touchstart');
-
element.bind('touchstart mouseenter', function(e) {
element.addClass('mouseOver');
e.preventDefault();
diff --git a/front/src/less/rule.less b/front/src/less/rule.less
index ce68297..82f8150 100644
--- a/front/src/less/rule.less
+++ b/front/src/less/rule.less
@@ -120,6 +120,7 @@
border-bottom-left-radius: 0.4em;
border-bottom-right-radius: 0.4em;
border-top: 1px solid #999;
+ z-index: 2;
}
.domTree {
diff --git a/front/src/less/timeline.less b/front/src/less/timeline.less
index dea012e..17525aa 100644
--- a/front/src/less/timeline.less
+++ b/front/src/less/timeline.less
@@ -309,7 +309,7 @@ input.textFilter {
background: #fff;
border: 2px solid #f1c40f;
border-radius: 0.5em;
- z-index: 1;
+ z-index: 2;
}
@media screen and (max-width: 1024px) {
.detailsOverlay {
diff --git a/front/src/views/domElementButton.html b/front/src/views/domElementButton.html
index 78dda24..268f4cd 100644
--- a/front/src/views/domElementButton.html
+++ b/front/src/views/domElementButton.html
@@ -3,5 +3,6 @@
DOM element {{obj.element}}
Fragment element {{obj.element}}
Created element {{obj.element}}
+ Incorrect element
Useless function call, as the jQuery object is empty.
@@ -133,6 +355,9 @@The query returned 0 results. Could it be unused or dead code?
+
+ The query returned