mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 05:44:20 +00:00
CCK only - not part of build Validation of exension info was bad
This commit is contained in:
parent
f6475f5ff0
commit
16b83484d7
@ -2359,7 +2359,7 @@ function Validate(field, message)
|
||||
|
||||
for (var i=0; i < arguments.length; i+=2) {
|
||||
/* special case ID */
|
||||
if (document.getElementById(arguments[i] = "id")) {
|
||||
if (document.getElementById(arguments[i]).id == "id") {
|
||||
if (!gIDTest.test(document.getElementById(arguments[i]).value)) {
|
||||
var bundle = document.getElementById("bundle_cckwizard");
|
||||
gPromptService.alert(window, bundle.getString("windowTitle"), arguments[i+1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user