%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/old/home/stash/atlassian-stash/static/page/admin/groups/
Upload File :
Create Path :
Current File : //proc/985914/root/data/old/home/stash/atlassian-stash/static/page/admin/groups/grouplist.js

define('page/admin/groupsList', [
    'util/flash-notifications',
    'widget/delete-dialog',
    'feature/user/group-table',
    'exports'
], function(
    flashNotifications,
    deleteDialog,
    GroupTable,
    exports) {

    exports.onReady = function(tableSelector, deleteLinksSelector) {

        flashNotifications.attachNotifications('.content-body .notifications');

        var groupTable = new GroupTable({
            target : tableSelector
        });

        groupTable.init();

        // confirm dialog to delete groups
        deleteDialog.bind(deleteLinksSelector,
            AJS.I18n.getText('stash.web.groups.delete'),
            AJS.I18n.getText('stash.web.groups.delete.success'),
            AJS.I18n.getText('stash.web.groups.delete.fail'),
            function(group) {
                flashNotifications.addNotification(AJS.I18n.getText('stash.web.groups.delete.success', group));
                location.reload();
            });
    };
});

Zerion Mini Shell 1.0