Skip to content

Commit

Permalink
ucfopen#46 Selected Widget service publish_verify call updated to use…
Browse files Browse the repository at this point in the history
… widget template ID instead of widget instance ID.
  • Loading branch information
FrenjaminBanklin committed Feb 20, 2019
1 parent f64cd43 commit 68d1427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/services/srv-selectedwidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ app.service('selectedWidgetSrv', function($rootScope, $q, OBJECT_TYPES) {

const getPublishPermission = () => {
const deferred = $q.defer()
Materia.Coms.Json.send('publish_verify', [_widget.id]).then(response => {
Materia.Coms.Json.send('publish_verify', [_widget.widget.id]).then(response => {
deferred.resolve(response)
})
return deferred.promise
Expand Down

0 comments on commit 68d1427

Please sign in to comment.