Ignore:
Timestamp:
10/02/05 10:58:27 (14 years ago)
Author:
kimss
Message:

More fixes for #385, took care of all "... = functions..." occurencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/FormOperations/form-operations.js

    r376 r377  
    344344  this.panel.setValues(vals); 
    345345  var f = form; 
    346   this.panel.getElementById('action').onkeyup = function () { f.action = this.value; } 
    347   this.panel.getElementById('method').onchange   = function () { f.method = this.options[this.selectedIndex].value; } 
     346  this.panel.getElementById('action').onkeyup = function () { f.action = this.value; }; 
     347  this.panel.getElementById('method').onchange   = function () { f.method = this.options[this.selectedIndex].value; }; 
    348348}; 
    349349 
     
    472472  var i = input; 
    473473  var fo = this; 
    474   this.panel.getElementById('button_name').onkeyup   = function () { i.name = fo.formatName(i, this.value); } 
    475   this.panel.getElementById('button_value').onkeyup  = function () { i.value = this.value; } 
     474  this.panel.getElementById('button_name').onkeyup   = function () { i.name = fo.formatName(i, this.value); }; 
     475  this.panel.getElementById('button_value').onkeyup  = function () { i.value = this.value; }; 
    476476  this.panel.getElementById('button_type').onchange   = function () 
    477477    { 
     
    500500        input = i = newElement; 
    501501      } 
    502     } 
     502    }; 
    503503}; 
    504504 
     
    520520  var i = input; 
    521521  var fo = this; 
    522   this.panel.getElementById('textarea_name').onkeyup   = function () { i.name = fo.formatName(i, this.value); } 
    523   this.panel.getElementById('textarea_value').onkeyup  = function () { i.value = i.innerHTML = this.value; } 
     522  this.panel.getElementById('textarea_name').onkeyup   = function () { i.name = fo.formatName(i, this.value); }; 
     523  this.panel.getElementById('textarea_value').onkeyup  = function () { i.value = i.innerHTML = this.value; }; 
    524524 
    525525  var w  = this.panel.getElementById('textarea_width'); 
     
    570570  var i = input; 
    571571  var fo = this; 
    572   this.panel.getElementById('select_name').onkeyup   = function () { i.name = fo.formatName(i, this.value); } 
    573   this.panel.getElementById('select_multiple').onclick   = function () { i.multiple = this.checked; } 
     572  this.panel.getElementById('select_name').onkeyup   = function () { i.name = fo.formatName(i, this.value); }; 
     573  this.panel.getElementById('select_multiple').onclick   = function () { i.multiple = this.checked; }; 
    574574 
    575575  var w  = this.panel.getElementById('select_width'); 
Note: See TracChangeset for help on using the changeset viewer.