文件操作 - field_text_textarea.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/plugins/us-core/usof/js/field_text_textarea.js
编辑文件内容
/** * USOF Field: Text / Textarea */ ! function( $, undefined ) { var _window = window, _document = document; if ( _window.$usof === undefined ) { return; } $usof.field[ 'text' ] = $usof.field[ 'textarea' ] = { init: function() { this.$row.on( 'click', '.usof-example', this.exampleClick.bind( this ) ); this.$input.on( 'change keyup', function() { this.trigger( 'change', [ this.getValue() ] ); }.bind( this ) ); }, exampleClick: function( ev ) { var $target = $( ev.target ).closest( '.usof-example' ), example = $target.html(); this.setValue( example ); } }; }( jQuery );
修改文件时间
将文件时间修改为当前时间的前一年
删除文件