1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| /**
| * Created by wisestone on 2018-10-12.
| */
| 'use strict';
|
| define(['app'],
| function (app) {
| app.directive('detectIssueEditor', ["$log",
| function ($log) {
| return {
| scope : {
| update : '&'
| },
| restrict: 'E',
| link: function ($scope, $element, $attrs) {
|
| $(".support-ticket-content-w").click(function (event) {
| if (!$(event.target).hasClass("editForm")) {
| $scope.update();
| }
| });
| }
| };
| }])
| });
|
|