Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\cumbreclima\wp-content\themes\patti\framework\ReduxFramework\ReduxCore\assets\js\import_export\ drwxrwxrwx |
Viewing file: import_export.js (3.28 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | /*global redux_change, redux*/ (function( $ ) { "use strict"; redux.field_objects = redux.field_objects || {}; redux.field_objects.import_export = redux.field_objects.import_export || {}; $( document ).ready( function() { redux.field_objects.import_export.init(); } ); redux.field_objects.import_export.init = function( selector ) { if ( !selector ) { selector = $( document ).find( '.redux-container-import_export' ); } var parent = selector; if ( !selector.hasClass( 'redux-field-container' ) ) { parent = selector.parents( '.redux-field-container:first' ); } if ( parent.hasClass( 'redux-field-init' ) ) { parent.removeClass( 'redux-field-init' ); } else { return; } $( '#redux-import' ).click( function( e ) { if ( $( '#import-code-value' ).val() === "" && $( '#import-link-value' ).val() === "" ) { e.preventDefault(); return false; } window.onbeforeunload = null; } ); $( '#redux-import-code-button' ).click( function() { if ( $( '#redux-import-link-wrapper' ).is( ':visible' ) ) { $( '#redux-import-link-wrapper' ).hide(); $( '#import-link-value' ).val( '' ); } $( '#redux-import-code-wrapper' ).fadeIn( 'fast' ); } ); $( '#redux-import-link-button' ).click( function() { if ( $( '#redux-import-code-wrapper' ).is( ':visible' ) ) { $( '#redux-import-code-wrapper' ).hide(); $( '#import-code-value' ).val( '' ); } $( '#redux-import-link-wrapper' ).fadeIn( 'fast' ); } ); $( '#redux-export-code-copy' ).click( function() { if ( $( '#redux-export-link-value' ).is( ':visible' ) ) { $( '#redux-export-link-value' ).hide(); } $( '#redux-export-code' ).fadeIn( 'fast' ); } ); $( '#redux-export-link' ).click( function() { if ( $( '#redux-export-code' ).is( ':visible' ) ) { $( '#redux-export-code' ).hide(); } $( '#redux-export-link-value' ).fadeIn( 'fast' ); } ); var textBox1 = document.getElementById("redux-export-code"); textBox1.onfocus = function() { textBox1.select(); // Work around Chrome's little problem textBox1.onmouseup = function() { // Prevent further mouseup intervention textBox1.onmouseup = null; return false; }; }; var textBox2 = document.getElementById("import-code-value"); textBox2.onfocus = function() { textBox2.select(); // Work around Chrome's little problem textBox2.onmouseup = function() { // Prevent further mouseup intervention textBox2.onmouseup = null; return false; }; }; }; })( jQuery ); |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |