Changeset 2608


Ignore:
Timestamp:
02/22/13 13:14:05 (11 years ago)
Author:
twagoo
Message:

Slight improvement or deletion failure error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/services/DeleteService.as

    r2605 r2608  
    8888                        CursorManager.removeBusyCursor();
    8989                        if (faultEvent.statusCode == 401) { //Apparrently depending on browser status codes and errormessages are sometimes not passed along to flash.
    90                                 Alert.show("Item not deleted:" + faultEvent.message.body);
     90                                Alert.show("Item not deleted. Authentication failed. " + faultEvent.message.body);
    9191                        } else if (faultEvent.statusCode == 403) {
    92                                 Alert.show("Item not deleted:" + faultEvent.message.body);
     92                                Alert.show("Item not deleted. Deletion not allowed. " + faultEvent.message.body);
    9393                        } else {
    94                                 Alert.show("Item not deleted: Item is either public or in the case of a component still referenced by other components/profiles.");
     94                                Alert.show("Item not deleted: Item could be public or in the case of a component still referenced by other components/profiles.");
    9595                        }
    9696                }
Note: See TracChangeset for help on using the changeset viewer.