Modal window for expressions now closes on save

parent c8310968
......@@ -63,6 +63,9 @@ dashboardControllers.controller('PictoConfigCtrl', function ($scope, $modalInsta
.success(function(data, status, headers, config) {
console.log("Properties updated");
// Close the modal instance
$modalInstance.close($scope.expression);
// /////////////////////////////////////////////////////////////
// Websocket: Emit vocabulary update action
io.socket.post('/stu/vocabulary', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment