| @@ -134,9 +134,9 @@ | ||
| 134 | 134 | /* translators: %s type: ie form, view. */ |
| 135 | 135 | const newPageDescription = __( 'Put your %s on a newly created page.', 'formidable' ).replace( '%s', typeDescription ); |
| 136 | 136 | |
| 137 | 137 | /* translators: %s type: ie form, view. */ |
| 138 | - const insertManuallyDescription = __( 'Use shortcodes or PHP code to put the %s anywhere.', 'formidable' ).replace( '%s', typeDescription ); | |
| 138 | + const insertManuallyDescription = __( 'Use WP shortcodes or PHP code to put the %s in any place.', 'formidable' ).replace( '%s', typeDescription ); | |
| 139 | 139 | |
| 140 | 140 | const options = [ |
| 141 | 141 | { |
| 142 | 142 | icon: '#frm_file_icon', |
| @@ -208,12 +208,8 @@ | ||
| 208 | 208 | } |
| 209 | 209 | |
| 210 | 210 | frmDom.autocomplete.initAutocomplete( 'page', dropdownWrapper ); |
| 211 | 211 | |
| 212 | - // Prevent cutoff issue with the autocomplete dropdown. | |
| 213 | - // This also adds visible overflow even if autocomplete is not activated, but that's fine for this page. | |
| 214 | - modal.querySelector( '.postbox' ).style.overflow = 'visible'; | |
| 215 | - | |
| 216 | 212 | function redirectToExistingPageWithInjectedShortcode( event ) { |
| 217 | 213 | event.preventDefault(); |
| 218 | 214 | |
| 219 | 215 | const pageDropdown = modal.querySelector( '[name="frm_page_dropdown"]' ); |
| @@ -357,10 +353,8 @@ | ||
| 357 | 353 | textWrapper.appendChild( getLabel( label ) ); |
| 358 | 354 | textWrapper.appendChild( div( description ) ); |
| 359 | 355 | output.appendChild( textWrapper ); |
| 360 | 356 | |
| 361 | - output.appendChild( div({ className: 'caret' }) ); | |
| 362 | - | |
| 363 | 357 | output.addEventListener( |
| 364 | 358 | 'click', |
| 365 | 359 | function() { |
| 366 | 360 | modal.classList.add( 'frm-on-page-2' ); |
| @@ -371,9 +365,9 @@ | ||
| 371 | 365 | } |
| 372 | 366 | |
| 373 | 367 | function wrapModalOptionIcon( iconHref ) { |
| 374 | 368 | return div({ |
| 375 | - className: 'frm-icon-wrapper', | |
| 369 | + className: 'frm-embed-modal-icon-wrapper', | |
| 376 | 370 | child: svg({ href: iconHref }) |
| 377 | 371 | }); |
| 378 | 372 | } |
| 379 | 373 | |