Changeset 1942294
- Timestamp:
- 09/16/2018 05:02:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
formentor-elementor-form-plus/tags/1.0/google_api_modol.php
r1929916 r1942294 322 322 323 323 try{ 324 324 325 elementor.channels.editor.on('conectgoogleacount', function(e){ 325 326 debugger; 327 var i = "<i class=\"ctggbi fa fa-spinner fa-spin\"></i>" 328 329 var to = elementor.$body.find("button[data-event=\"conectgoogleacount\"]"); 330 jQuery(i).insertAfter(to); 326 331 var form_name = e.options.elementSettingsModel.attributes.form_name; 327 332 if(form_name =='') … … 356 361 setTimeout(function() { 357 362 window.top.location.href = data[0]; 358 }, 4000);363 }, 10000); 359 364 360 365 … … 533 538 ); 534 539 $element->end_controls_section(); 535 /* $element->start_controls_section( 536 'form_mobile', 537 [ 538 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 539 'label' => __( 'form_mobile ', 'client_to_google_sheet' ), 540 ] 541 ); 542 $element->add_control( 543 'enable_form_mobile', 544 [ 545 'label' => __( 'enable form in mobile display', 'client_to_google_sheet' ), 546 'type' => \Elementor\Controls_Manager::SWITCHER, 547 'label_on' => __( 'yes', 'client_to_google_sheet' ), 548 'label_off' => __( 'no', 'client_to_google_sheet' ), 549 'return_value' => 'yes', 550 'default' => 'no', 551 ] 552 ); 553 $element->add_control( 554 'fix_bg', 555 [ 556 'label' => __( 'Color', 'client_to_google_sheet' ), 557 'type' => \Elementor\Controls_Manager::COLOR, 558 'default' => '#000000ab', 559 'selectors' => [ '{{WRAPPER}} .form_fixed_bg' => 'background-color: {{VALUE}}',], 560 ] 561 ); 562 $element->add_control( 563 'bblq', 564 [ 565 'label' => __( 'bbl q Color', 'client_to_google_sheet' ), 566 'type' => \Elementor\Controls_Manager::COLOR, 567 'default' => '#c0c0c0', 568 'selectors' => [ 569 '{{WRAPPER}} .bblq' => 'background: {{VALUE}};', 570 '{{WRAPPER}} .bblq:after' => 'border-right-color: {{VALUE}};', 571 572 ], 573 574 ] 575 ); 576 577 $element->add_control( 578 'bbla', 579 [ 580 'label' => __( 'bbl a Color', 'client_to_google_sheet' ), 581 'type' => \Elementor\Controls_Manager::COLOR, 582 'default' => '#c0c0c0', 583 'selectors' => [ 584 '{{WRAPPER}} .bbla' => 'background: {{VALUE}};', 585 '{{WRAPPER}} .bbla:after' => 'border-left-color: {{VALUE}};', 586 ], 587 ] 588 ); 589 $element->add_control( 590 'send_icon', 591 [ 592 'label' => __( 'send Icons', 'client_to_google_sheet' ), 593 'type' => \Elementor\Controls_Manager::ICON, 594 'include' => [ 595 'fa fa-send', 596 'fa fa-send-o', 597 'fa fa fa-arrow-circle-right', 598 'fa fa fa-arrow-circle-left', 599 ], 600 'default' => 'fa fa-send', 601 ] 602 ); 603 604 $element->end_controls_section();*/ 540 605 541 $element->start_controls_section( 606 542 'one_by_one',
Note: See TracChangeset
for help on using the changeset viewer.