Skip to content

Commit 980f2c3

Browse files
committed
BUG FIX
1 parent 1f39025 commit 980f2c3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/Darryldecode/Backend/Base/Registrar/Registrar.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Registrar {
1313
/**
1414
* the laravel backend version
1515
*/
16-
const VERSION = '1.0.11';
16+
const VERSION = '1.0.12';
1717
const VERSION_NAME = 'Alpha';
1818

1919
/**

src/Darryldecode/Backend/Public/backend/cb/app/contents/controller.contents.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,7 @@ angular.module('cb.group').controller('ContentsController', ['$scope','$timeout'
9494
$scope.content.isDoing = true;
9595

9696
ContentFactory.createContent(dataToBeSave).then(function(success) {
97-
resetContentState();
98-
queryContentsByType($scope.contentType.id, {});
99-
$scope.drawer.hide($scope.drawer.mode);
100-
$scope.content.isDoing = false;
97+
location.reload();
10198
}, function (error) {
10299
GlobalLoaderService.show(error.data.message || 'An error has occurred.','danger').hide(3500);
103100
$scope.content.isDoing = false;

0 commit comments

Comments
 (0)