Changeset 377
- Timestamp:
- 10/02/05 10:58:27 (8 years ago)
- Location:
- trunk
- Files:
-
- 6 modified
-
htmlarea.js (modified) (1 diff)
-
plugins/FormOperations/form-operations.js (modified) (5 diffs)
-
plugins/ImageManager/assets/EditorContent.js (modified) (1 diff)
-
plugins/ImageManager/assets/manager.js (modified) (1 diff)
-
plugins/ImageManager/newFolder.html (modified) (5 diffs)
-
plugins/Linker/dTree/dtree.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.js
r376 r377 3647 3647 3648 3648 return a; 3649 } 3649 }; 3650 3650 3651 3651 switch(ev.which) -
trunk/plugins/FormOperations/form-operations.js
r376 r377 344 344 this.panel.setValues(vals); 345 345 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; }; 348 348 }; 349 349 … … 472 472 var i = input; 473 473 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; }; 476 476 this.panel.getElementById('button_type').onchange = function () 477 477 { … … 500 500 input = i = newElement; 501 501 } 502 } 502 }; 503 503 }; 504 504 … … 520 520 var i = input; 521 521 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; }; 524 524 525 525 var w = this.panel.getElementById('textarea_width'); … … 570 570 var i = input; 571 571 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; }; 574 574 575 575 var w = this.panel.getElementById('select_width'); -
trunk/plugins/ImageManager/assets/EditorContent.js
r43 r377 103 103 if (markerImg.src.indexOf("img/t_white.gif")>0) 104 104 toggleMarker() ; 105 } 105 }; 106 106 107 107 function init_crop() -
trunk/plugins/ImageManager/assets/manager.js
r256 r377 99 99 // For some reason dialog is not shrinkwrapping correctly in IE so we have to explicitly size it for now. 100 100 if(HTMLArea.is_ie) window.resizeTo(600, 460); 101 } 101 }; 102 102 103 103 -
trunk/plugins/ImageManager/newFolder.html
r60 r377 23 23 if(window.opener) 24 24 HTMLArea = window.opener.HTMLArea; 25 25 26 26 init = function () 27 27 { … … 29 29 __dlg_translate('ImageManager'); 30 30 document.getElementById("f_foldername").focus(); 31 } 31 }; 32 32 33 function onCancel() 33 function onCancel() 34 34 { 35 35 __dlg_close(null); … … 37 37 } 38 38 39 function onOK() 39 function onOK() 40 40 { 41 41 // pass data back to the calling window … … 52 52 53 53 function addEvent(obj, evType, fn) 54 { 55 if (obj.addEventListener) { obj.addEventListener(evType, fn, true); return true; } 56 else if (obj.attachEvent) { var r = obj.attachEvent("on"+evType, fn); return r; } 57 else { return false; } 58 } 59 54 { 55 if (obj.addEventListener) { obj.addEventListener(evType, fn, true); return true; } 56 else if (obj.attachEvent) { var r = obj.attachEvent("on"+evType, fn); return r; } 57 else { return false; } 58 } 59 60 60 addEvent(window, 'load', init); 61 61 //--> … … 69 69 <input type="text" id="f_foldername" /> 70 70 </div> 71 <div style="text-align: right;"> 71 <div style="text-align: right;"> 72 72 <hr /> 73 73 <button type="button" class="buttons" onclick="return onOK();">OK</button> -
trunk/plugins/Linker/dTree/dtree.js
r20 r377 704 704 return this.length; 705 705 706 } 706 }; 707 707 708 708 }; … … 718 718 return lastElement; 719 719 720 } 721 722 }; 723 720 }; 721 722 }; 723
