Fixed insert element bugs. Added message if no misspelled words. Changed 'More Atrributes' to 'Advanced Edit' in dialogs. Improved generic message dialog. Added remove link button to link dialog
git-svn-id: svn://10.0.0.236/trunk@40996 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -23,6 +23,14 @@ function InitEditorShell()
|
||||
return true;
|
||||
}
|
||||
|
||||
function StringExists(string)
|
||||
{
|
||||
if (string != null && string != "undefined" && string.length > 0)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function ClearList(list)
|
||||
{
|
||||
for( i = (list.length-1); i >= 0; i-- ) {
|
||||
@@ -93,7 +101,6 @@ function ValidateNumberString(value, minValue, maxValue)
|
||||
}
|
||||
message = "The number you entered ("+number+") is outside of allowed range.\nPlease enter a number between "+minValue+" and "+maxValue;
|
||||
ShowInputErrorMessage(message);
|
||||
window.openDialog("chrome://editor/content/EdMessage.xul", "MsgDlg", "chrome", "", message, "Input Error", "OK");
|
||||
|
||||
// Return an empty string to indicate error
|
||||
return "";
|
||||
@@ -102,7 +109,7 @@ function ValidateNumberString(value, minValue, maxValue)
|
||||
function ShowInputErrorMessage(message)
|
||||
{
|
||||
// This is NOT MODAL as of 7/16/99!
|
||||
window.openDialog("chrome://editor/content/EdMessage.xul", "MsgDlg", "chrome", "", message, "Input Error", "OK");
|
||||
window.openDialog("chrome://editor/content/EdMessage.xul", "MsgDlg", "chrome", "", message, "Input Error");
|
||||
}
|
||||
|
||||
function TrimStringLeft(string)
|
||||
|
||||
Reference in New Issue
Block a user