%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/old/home/stash/atlassian-stash/static/widget/exception/
Upload File :
Create Path :
Current File : //proc/985914/root/data/old/home/stash/atlassian-stash/static/widget/exception/exception.js

define('widget/exception', [
    'jquery',
    'exports'
], function(
    $,
    exports
    ) {

    'use strict';

    exports.onReady = function() {

        $(".formatted-throwable-toggle").click(function() {
            var $this = $(this);
            var $details = $this.next(".formatted-throwable");
            if ($this.data("message-visible")) {
                $details.hide('slow', function() {
                    $this.text(AJS.I18n.getText('stash.web.message.throwable.twixie.show'));
                });
                $this.data("message-visible", false);
            } else {
                $details.show('slow', function() {
                    $this.text(AJS.I18n.getText('stash.web.message.throwable.twixie.hide'));
                });
                $this.data("message-visible", true);
            }
        });

    };
});

Zerion Mini Shell 1.0