File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 113113 .print_app_indent_list {
114114 margin-left: 20px
115115 }
116+ print_dot_app_design_list > div {
117+ max-height: 290px;
118+ overflow-y: scroll;
119+ }
116120 </style>` ;
117121 document . head . insertAdjacentHTML ( 'beforeEnd' , style ) ;
118122
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ public function print_app_reset_project() {
169169 // FETCH DESIGNS FOR ASSIGNING IN BACKEND.
170170 public function print_app_fetch_designs () {
171171 $ authKey = get_option ('print_app_secret_key ' );
172- $ url = sanitize_url ( print_app_RUNTIME_API_URL.'/designs ' .( isset ($ _POST ['path ' ]) ? '/ ' .sanitize_url ( $ _POST ['path ' ] ) : '' ) ) ;
172+ $ url = print_app_RUNTIME_API_URL.'/designs ' .( isset ($ _POST ['path ' ]) ? '/ ' .$ _POST ['path ' ] : '' ) ;
173173 $ response = wp_remote_get ( $ url , array ('headers ' =>array ('Authorization ' => $ authKey ) ) );
174174 wp_die ( wp_remote_retrieve_body ($ response ) );
175175 }
You can’t perform that action at this time.
0 commit comments