Custom Query (18300 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (106 - 108 of 18300)

Ticket Resolution Summary Owner Reporter
#1719 fixed widget/namespaces/test_Button: sizing of buttons is wrong bill Adam Peller
Description

tests/widget/namespaces/test_Button.html

sizing of buttons, mostly in the 'sizing' section is off

(FF and Safari)

Reload, the problem goes away. Shift-reload, the problem reappears (FF)

Not sure if these tests have anything to do with namespaces?

#967 worksforme widget/RichText.js - document.write unnecessarily wipes page alex srini at youos
Description

RichText? widget does a document.write() which ends up overwriting the entire page if the widget is loaded dynamically after the page has been loaded. This document.write can be avoided.

Possible Fix:

Index: RichText.js
===================================================================
--- RichText.js (revision 2588)
+++ RichText.js (revision 2589)
@@ -20,10 +20,11 @@
 dojo.require("dojo.string");

 // used to save content
-try {
-       document.write('<textarea id="dojo.widget.RichText.savedContent" ' +
-               'style="display:none;position:absolute;top:-100px;left:-100px;height:3px;width:3px;overflow:hidden;"></textarea>');
-}catch(e){ }
+//try {
+//     document.write('<textarea id="dojo.widget.RichText.savedContent" ' +
+//             'style="display:none;position:absolute;top:-100px;left:-100px;height:3px;width:3px;overflow:hidden;"></textarea>');
+//}catch(e){ }

 dojo.widget.defineWidget(
        "dojo.widget.html.RichText",
@@ -195,6 +196,12 @@

                        if(this.saveName != ""){
                                var saveTextarea = document.getElementById("dojo.widget.RichText.savedContent");
+                                // create saved content textarea on demand, under body
+                                if (! saveTextarea)
+                                {
+                                  document.body.innerHTML += "<textarea id="dojo.widget.RichText.savedContent" style="display:none;position:absolute;top:-100px;left:-100px;height:3px;width:3px;overflow:hidden;"></textarea>";
+                                 saveTextarea = document.getElementById("dojo.widget.RichText.savedContent");
+                                }
                                if (saveTextarea.value != "") {
                                        var datas = saveTextarea.value.split(this._SEPARATOR);
                                        for (var i = 0; i < datas.length; i++) {
@@ -1303,6 +1310,12 @@
                 */
                _saveContent: function(e){
                        var saveTextarea = document.getElementById("dojo.widget.RichText.savedContent");
+                        // create saved content textarea on demand, under body
+                        if (! saveTextarea)
+                        {
+                          document.body.innerHTML += "<textarea id="dojo.widget.RichText.savedContent" style="display:none;position:absolute;top:-100px;left:-100px;height:3px;width:3px;overflow:hidden;"></textarea>";
+                         saveTextarea = document.getElementById("dojo.widget.RichText.savedContent");
+                        }
                        saveTextarea.value += this._SEPARATOR + this.saveName + ":" + this.getEditorContent();
                },

#607 fixed widget.wizard doesn't accept style (width/height) parameters bill [email protected]
Description

<div id="wizard1" dojoType="WizardContainer?"

style="width: 100%; height: 200px;" nextButtonLabel="next >>" previousButtonLabel="<< previous" cancelFunction="cancel"

http://archive.dojotoolkit.org/nightly/tests/widget/test_Wizard.html

The width code defaults to 100%.

Note: See TracQuery for help on using queries.