Upgrade to xinha svn head to fix issues with xinha editors not appearing in Firefox 1.5

This commit is contained in:
Chris Morgan
2005-12-07 03:37:36 +00:00
committed by WineHQ
parent 369b40b046
commit 8786179180
175 changed files with 2371 additions and 1919 deletions

View File

@@ -26,7 +26,7 @@ function Forms(editor) {
}
// add a new line in the toolbar
cfg.toolbar.push(toolbar);
};
}
Forms._pluginInfo = {
name : "Forms",
@@ -65,7 +65,7 @@ Forms.btnList = [
Forms.prototype._lc = function(string) {
return HTMLArea._lc(string, 'Forms');
}
};
Forms.prototype.onGenerate = function() {
var style_id = "Form-style"
@@ -77,7 +77,7 @@ Forms.prototype.onGenerate = function() {
style.href = _editor_url + 'plugins/Forms/forms.css';
this.editor._doc.getElementsByTagName("HEAD")[0].appendChild(style);
}
}
};
Forms.prototype.buttonPress = function(editor,button_id, node) {
function optionValues(text,value) {
@@ -173,7 +173,7 @@ Forms.prototype.buttonPress = function(editor,button_id, node) {
var a_options = new Array();
for (var i=0; i<=node.options.length-1; i++) {
a_options[i] = new optionValues(node.options[i].text, node.options[i].value);
};
}
outparam.f_options = a_options;
break;
case "text":
@@ -267,7 +267,7 @@ Forms.prototype.buttonPress = function(editor,button_id, node) {
outparam.f_for = "";
outparam.f_text = "";
outparam.f_legend = "";
};
}
editor._popupDialog("plugin://Forms/" + tagName + ".html", function(param) {
if (param) {
if(param["f_cols"])
@@ -351,4 +351,4 @@ Forms.prototype.buttonPress = function(editor,button_id, node) {
}
}, outparam);
}
};
};