Skip to content

Commit

Permalink
Fixed bug in backrefs
Browse files Browse the repository at this point in the history
  • Loading branch information
st2135 committed Oct 12, 2017
1 parent 78f6ec9 commit 3d05d5c
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lingvodoc/static/js/lingvodoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -120811,7 +120811,7 @@ $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalContro
var formData = new $g.FormData();
formData.append("entity", entityFile);
formData.append("content", file);
this.backend$4.createEntity__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_EntityData__s_concurrent_Future(this.dictionaryId$4, this.ru$ispras$lingvodoc$frontend$app$controllers$modal$EditDictionaryModalController$$linkPerspectiveId$f, entryId, entity).onComplete__F1__s_concurrent_ExecutionContext__V(new $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController$$anonfun$saveFileValue$2().init___Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController__T__Lru_ispras_lingvodoc_frontend_app_model_LexicalEntry__sjs_js_UndefOr__Lru_ispras_lingvodoc_frontend_app_model_CompositeId(this, inputId, entry, parent, entryId), this.executionContext$2)
this.backend$4.createEntity__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lorg_scalajs_dom_raw_FormData__s_concurrent_Future(this.dictionaryId$4, this.ru$ispras$lingvodoc$frontend$app$controllers$modal$EditDictionaryModalController$$linkPerspectiveId$f, entryId, formData).onComplete__F1__s_concurrent_ExecutionContext__V(new $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController$$anonfun$saveFileValue$2().init___Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController__T__Lru_ispras_lingvodoc_frontend_app_model_LexicalEntry__sjs_js_UndefOr__Lru_ispras_lingvodoc_frontend_app_model_CompositeId(this, inputId, entry, parent, entryId), this.executionContext$2)
});
$c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController.prototype.range__I__I__I__sjs_js_Array = (function(min, max, step) {
var isEmpty$4 = (min > max);
Expand Down
4 changes: 2 additions & 2 deletions lingvodoc/static/js/lingvodoc.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webui/artifacts/desktop/js/lingvodoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -99405,7 +99405,7 @@ $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalContro
var formData = new $g.FormData();
formData.append("entity", entityFile);
formData.append("content", file);
this.backend$4.createEntity__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_EntityData__s_concurrent_Future(this.dictionaryId$4, this.ru$ispras$lingvodoc$frontend$app$controllers$modal$EditDictionaryModalController$$linkPerspectiveId$f, entryId, entity).onComplete__F1__s_concurrent_ExecutionContext__V(new $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController$$anonfun$saveFileValue$2().init___Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController__T__Lru_ispras_lingvodoc_frontend_app_model_LexicalEntry__sjs_js_UndefOr__Lru_ispras_lingvodoc_frontend_app_model_CompositeId(this, inputId, entry, parent, entryId), this.executionContext$2)
this.backend$4.createEntity__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lorg_scalajs_dom_raw_FormData__s_concurrent_Future(this.dictionaryId$4, this.ru$ispras$lingvodoc$frontend$app$controllers$modal$EditDictionaryModalController$$linkPerspectiveId$f, entryId, formData).onComplete__F1__s_concurrent_ExecutionContext__V(new $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController$$anonfun$saveFileValue$2().init___Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController__T__Lru_ispras_lingvodoc_frontend_app_model_LexicalEntry__sjs_js_UndefOr__Lru_ispras_lingvodoc_frontend_app_model_CompositeId(this, inputId, entry, parent, entryId), this.executionContext$2)
});
$c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController.prototype.range__I__I__I__sjs_js_Array = (function(min, max, step) {
var isEmpty$4 = (min > max);
Expand Down
4 changes: 2 additions & 2 deletions webui/artifacts/desktop/js/lingvodoc.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webui/artifacts/proxy/js/lingvodoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -127341,7 +127341,7 @@ $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalContro
var formData = new $g.FormData();
formData.append("entity", entityFile);
formData.append("content", file);
this.backend$4.createEntity__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_EntityData__s_concurrent_Future(this.dictionaryId$4, this.ru$ispras$lingvodoc$frontend$app$controllers$modal$EditDictionaryModalController$$linkPerspectiveId$f, entryId, entity).onComplete__F1__s_concurrent_ExecutionContext__V(new $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController$$anonfun$saveFileValue$2().init___Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController__T__Lru_ispras_lingvodoc_frontend_app_model_LexicalEntry__sjs_js_UndefOr__Lru_ispras_lingvodoc_frontend_app_model_CompositeId(this, inputId, entry, parent, entryId), this.executionContext$2)
this.backend$4.createEntity__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lorg_scalajs_dom_raw_FormData__s_concurrent_Future(this.dictionaryId$4, this.ru$ispras$lingvodoc$frontend$app$controllers$modal$EditDictionaryModalController$$linkPerspectiveId$f, entryId, formData).onComplete__F1__s_concurrent_ExecutionContext__V(new $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController$$anonfun$saveFileValue$2().init___Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController__T__Lru_ispras_lingvodoc_frontend_app_model_LexicalEntry__sjs_js_UndefOr__Lru_ispras_lingvodoc_frontend_app_model_CompositeId(this, inputId, entry, parent, entryId), this.executionContext$2)
});
$c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController.prototype.range__I__I__I__sjs_js_Array = (function(min, max, step) {
var isEmpty$4 = (min > max);
Expand Down
4 changes: 2 additions & 2 deletions webui/artifacts/proxy/js/lingvodoc.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webui/artifacts/webui/js/lingvodoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -120811,7 +120811,7 @@ $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalContro
var formData = new $g.FormData();
formData.append("entity", entityFile);
formData.append("content", file);
this.backend$4.createEntity__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_EntityData__s_concurrent_Future(this.dictionaryId$4, this.ru$ispras$lingvodoc$frontend$app$controllers$modal$EditDictionaryModalController$$linkPerspectiveId$f, entryId, entity).onComplete__F1__s_concurrent_ExecutionContext__V(new $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController$$anonfun$saveFileValue$2().init___Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController__T__Lru_ispras_lingvodoc_frontend_app_model_LexicalEntry__sjs_js_UndefOr__Lru_ispras_lingvodoc_frontend_app_model_CompositeId(this, inputId, entry, parent, entryId), this.executionContext$2)
this.backend$4.createEntity__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lru_ispras_lingvodoc_frontend_app_model_CompositeId__Lorg_scalajs_dom_raw_FormData__s_concurrent_Future(this.dictionaryId$4, this.ru$ispras$lingvodoc$frontend$app$controllers$modal$EditDictionaryModalController$$linkPerspectiveId$f, entryId, formData).onComplete__F1__s_concurrent_ExecutionContext__V(new $c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController$$anonfun$saveFileValue$2().init___Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController__T__Lru_ispras_lingvodoc_frontend_app_model_LexicalEntry__sjs_js_UndefOr__Lru_ispras_lingvodoc_frontend_app_model_CompositeId(this, inputId, entry, parent, entryId), this.executionContext$2)
});
$c_Lru_ispras_lingvodoc_frontend_app_controllers_modal_EditDictionaryModalController.prototype.range__I__I__I__sjs_js_Array = (function(min, max, step) {
var isEmpty$4 = (min > max);
Expand Down
4 changes: 2 additions & 2 deletions webui/artifacts/webui/js/lingvodoc.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class EditDictionaryModalController(scope: EditDictionaryModalScope,
formData.append("entity", entityFile)
formData.append("content", file)

backend.createEntity(dictionaryId, linkPerspectiveId, entryId, entity) onComplete {
backend.createEntity(dictionaryId, linkPerspectiveId, entryId, formData) onComplete {
case Success(entityId) =>
backend.getEntity(dictionaryId, linkPerspectiveId, entryId, entityId) onComplete {
case Success(newEntity) =>
Expand Down

0 comments on commit 3d05d5c

Please sign in to comment.