File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -101,15 +101,15 @@ <h2 class="padding:5px_0px">Demo</h2>
101101 < a class ="margin-right:10px hidden " id ="code " data-show ="code " data-hide ="preview "> < i class ="fas fa-code "> </ i > </ a >
102102 <!--<a class="margin-right:10px"><i class="far fa-window-maximize"></i></a>-->
103103 < 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 "
113113 class ="margin-right:10px ">
114114 < i class ="fas fa-external-link-alt "> </ i >
115115 </ a >
Original file line number Diff line number Diff line change 11// -8
22const CoCreateAction = {
3- attribute : 'data- actions' ,
3+ attribute : 'actions' ,
44 actions : { } ,
55 selectedStage : [ ] ,
66 stageIndex : 0 ,
@@ -21,7 +21,7 @@ const CoCreateAction = {
2121 return ;
2222 }
2323
24- let buttons = __container . querySelectorAll ( "[data- actions]" ) ;
24+ let buttons = __container . querySelectorAll ( "[actions]" ) ;
2525
2626 for ( let i = 0 ; i < buttons . length ; i ++ ) {
2727 this . actionButtonEvent ( buttons [ i ] ) ;
@@ -30,7 +30,7 @@ const CoCreateAction = {
3030
3131 actionButtonEvent : function ( btn ) {
3232 const _this = this ;
33- let checkActions = btn . getAttribute ( 'data- actions' ) || "" ;
33+ let checkActions = btn . getAttribute ( 'actions' ) || "" ;
3434 checkActions = checkActions . replace ( / \s / g, '' ) . split ( ',' ) ;
3535
3636 if ( checkActions . length == 0 ) {
You can’t perform that action at this time.
0 commit comments