%PDF- %PDF-
| Direktori : /data/old/home/stash/stash/atlassian-stash/static/widget/exception/ |
| Current File : //data/old/home/stash/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);
}
});
};
});