Skip to content

Commit f2a30a2

Browse files
committedJan 24, 2023
Attach JS to $.wn instead of $.oc
1 parent c4039f0 commit f2a30a2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
 

‎assets/js/activityController.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Scripts for the Relation controller behavior.
2+
* Scripts for the Activity Log controller behavior.
33
*/
4-
54
+ function ($) {
65
"use strict";
76

@@ -20,5 +19,5 @@
2019
}
2120
}
2221

23-
$.oc.activityController = new ActivityController;
22+
$.wn.activityController = new ActivityController;
2423
}(window.jQuery);

‎controllers/activities/config_list.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ title: Manage Activities
1414
# Link URL for each record
1515
recordUrl: luketowers/easyaudit/activities/update/:id
1616

17-
recordOnClick: '$.oc.activityController.clickActivityRecord(:id, this)'
17+
recordOnClick: '$.wn.activityController.clickActivityRecord(:id, this)'
1818

1919
# Message to display if the list is empty
2020
noRecordsMessage: backend::lang.list.no_records

0 commit comments

Comments
 (0)
Please sign in to comment.