59063 59064, r=sspitzer, sr=bienvenu. throw exception so that the dialog does not close

This commit is contained in:
naving%netscape.com 2000-11-29 01:11:14 +00:00
Родитель 2aca7939be
Коммит b4aee45291
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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");
} }
} }