зеркало из https://github.com/mozilla/gecko-dev.git
59063 59064, r=sspitzer, sr=bienvenu. throw exception so that the dialog does not close
This commit is contained in:
Родитель
2aca7939be
Коммит
b4aee45291
|
@ -55,6 +55,8 @@ function DoRDFCommand(dataSource, command, srcArray, argumentArray)
|
||||||
if ( command == "http://home.netscape.com/NC-rdf#ReallyDelete" || command == "http://home.netscape.com/NC-rdf#Delete" || command == "http://home.netscape.com/NC-rdf#Move" ) {
|
if ( command == "http://home.netscape.com/NC-rdf#ReallyDelete" || command == "http://home.netscape.com/NC-rdf#Delete" || command == "http://home.netscape.com/NC-rdf#Move" ) {
|
||||||
gNextMessageAfterDelete =null;
|
gNextMessageAfterDelete =null;
|
||||||
}
|
}
|
||||||
|
if (command == "http://home.netscape.com/NC-rdf#NewFolder")
|
||||||
|
throw(e); //so that the dialog does not automatically close.
|
||||||
dump (" Exception : In mail commands\n");
|
dump (" Exception : In mail commands\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче