File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -101,15 +101,15 @@ <h2 class="padding:5px_0px">Demo</h2>
101
101
< a class ="margin-right:10px hidden " id ="code " data-show ="code " data-hide ="preview "> < i class ="fas fa-code "> </ i > </ a >
102
102
<!--<a class="margin-right:10px"><i class="far fa-window-maximize"></i></a>-->
103
103
< a target ="modal " href ="module_activity_datatable.html "
104
- data-pass_collection ="modules "
105
- data-pass_document_id =""
106
- data-pass_fetch_value =""
107
- data-pass_prefix =""
108
- data- pass_to ="render "
109
- data-modal_width ="600px "
110
- data-modal_height ="400px "
111
- data-modal_color ="#229954 "
112
- data-modal_header ="false "
104
+ pass-collection ="modules "
105
+ pass-document_id =""
106
+ pass-fetch_value =""
107
+ pass-prefix =""
108
+ pass_to ="render "
109
+ modal-width ="600px "
110
+ modal-height ="400px "
111
+ modal-color ="#229954 "
112
+ modal-header ="false "
113
113
class ="margin-right:10px ">
114
114
< i class ="fas fa-external-link-alt "> </ i >
115
115
</ a >
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ const CoCreateUser = {
71
71
this . getCurrentOrg ( data [ 'id' ] , data [ 'collection' ] ) ;
72
72
}
73
73
render . data ( {
74
- selector : "[data- template_id='login']" ,
74
+ selector : "[template_id='login']" ,
75
75
render : data
76
76
} )
77
77
@@ -172,7 +172,7 @@ const CoCreateUser = {
172
172
checkPermissions : ( data ) => {
173
173
const tags = document . querySelectorAll ( '.' + CONST_PERMISSION_CLASS ) ;
174
174
tags . forEach ( ( tag ) => {
175
- let module_id = tag . getAttribute ( 'document_id' ) ? tag . getAttribute ( 'document_id' ) : tag . getAttribute ( 'data-pass_document_id ' ) ;
175
+ let module_id = tag . getAttribute ( 'document_id' ) ? tag . getAttribute ( 'document_id' ) : tag . getAttribute ( 'pass-document_id ' ) ;
176
176
let data_permission = tag . getAttribute ( 'data-permission' ) ;
177
177
let userPermission = data [ 'permission-' + module_id ] ;
178
178
You can’t perform that action at this time.
0 commit comments