Skip to content

Commit

Permalink
turn on POST for graph editor clients, this should enable the fix on …
Browse files Browse the repository at this point in the history
…the client for too large payloads; work on #151
  • Loading branch information
kltm committed Dec 19, 2015
1 parent 835efd5 commit 89662fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/NoctuaEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ var MMEnvInit = function(model_json, in_relations, in_token){
// Events registry.
// Add manager and default callbacks to minerva/barista.
var engine = new jquery_engine(barista_response);
engine.method('POST');
var manager = new minerva_manager(global_barista_location,
global_minerva_definition_name,
in_token, engine, 'async');
Expand Down Expand Up @@ -2431,6 +2432,7 @@ jsPlumb.ready(function(){
// This manager bootstraps the editor by fetching the
// model out of Minerva.
var engine = new jquery_engine(barista_response);
engine.method('POST');
var init_manager =
new minerva_manager(global_barista_location,
global_minerva_definition_name,
Expand Down

0 comments on commit 89662fe

Please sign in to comment.