module('apps.Issues').requires('cop.Layers', 'lively.Text').toRun(function() {


cop.create('BrowseErrorStackLayer').refineClass(TextMorph, {

	morphMenu: function(evt) {
		var menu = cop.proceed(evt);
		menu.addItem(["browse error stack", function() {
			var stackViewer = new lively.ide.ErrorStackViewer()
			stackViewer.setError({stack: this.textString})
			stackViewer.open()
		}])
		return menu
		
	}
})




}) // end of module