server/bo_client/app/components/bo-doc-contributors.js
changeset 28 b0b56e0f8c7f
parent 27 a2342f26c9de
child 29 50702e620af4
--- a/server/bo_client/app/components/bo-doc-contributors.js	Fri Jan 15 15:27:56 2016 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-import Ember from 'ember';
-import _ from 'lodash/lodash';
-
-export default Ember.Component.extend({
-
-  actions: {
-    toggleEditContributors : function() {
-      console.log("EDIT CONTRIBUTORS");
-      // var contributors = _.clone(this.get('document').get('contributors'));
-      // console.log("EDIT CONTRIBUTPRS", contributors);
-      // contributors.push({
-      //   name: "Hello world",
-      //   url: null,
-      //   role: 'http://www.language-archives.org/OLAC/1.1/annotator'
-      // });
-      // this.get('document').set('contributors', contributors);
-      Ember.$('#doc-contributors-table-pane').slideToggle();
-      Ember.$('#doc-contributors-list-pane').slideToggle();
-    }
-  }
-});