Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
Arturs committed Oct 13, 2018
1 parent 54983d5 commit 1adc6ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions client/js/platform/editor/ajooEditor/keystrokes.js
Expand Up @@ -88,8 +88,6 @@ function processKeyPress(e, key_strokes) {
//encodes key stoke table
var encoded_key_strokes = encode_keystrokes(key_strokes);

console.log("encoded_key_strokes ", encoded_key_strokes)

//collects pressed keys
var ctrl_key = e.ctrlKey;
var key_code = e.keyCode;
Expand Down
13 changes: 0 additions & 13 deletions libs/platform/diagrams/compartments.js
Expand Up @@ -36,27 +36,14 @@ Compartments.after.insert(function (user_id, doc) {
Meteor.methods({

insertCompartment: function(list) {

var user_id = Meteor.userId();

var compart_in = list.compartment;


console.log("asdfa ", list)



if (is_project_version_admin(user_id, compart_in)) {

if (!_.isUndefined(compart_in["value"]) && !_.isUndefined(compart_in["input"] && compart_in.input !== "")) {

compart_in["valueLC"] = compart_in["value"].toLowerCase();


console.log("compart_in ", compart_in)



Compartments.insert(compart_in, {trimStrings: false});

if (list["elementStyleUpdate"]) {
Expand Down

0 comments on commit 1adc6ef

Please sign in to comment.