trac/htdocs/js/auto_preview.js
Function autoSubmit
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.autoSubmit = function(args, update, busy) {
if (this.length == 0 || auto_preview_timeout <= 0)
return this;
if (this[0].nodeName == 'FORM') {
var form = this;
Function autoPreview
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.autoPreview = function(href, args, update) {
if (auto_preview_timeout <= 0)
return this;
var timeout = auto_preview_timeout * 1000;
return this.each(function() {
Function request
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function request() {
if (!updating) {
var new_values = form.serializeArray();
if (values_changed(new_values)) {
values = new_values;