Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Initial attribute save set up
Browse files Browse the repository at this point in the history
  • Loading branch information
alecritson committed Nov 30, 2018
1 parent 592f942 commit e0c7676
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
this.loadLanguages();
this.loadGroups();
this.load();
Dispatcher.add('save-attribute', this);
},
methods: {
save() {
alert('Save!');
},
load() {
apiRequest.send('get', '/attributes/' + this.id, [], this.params)
.then(response => {
Expand Down Expand Up @@ -70,8 +74,8 @@
<template v-if="loaded">

<transition name="fade">
<candy-tabs initial="orderdetails">
<candy-tab name="Attribute Details" handle="collection-details" dispatch="save-order" :selected="true">
<candy-tabs initial="attributedetails">
<candy-tab name="Attribute Details" handle="attribute-details" dispatch="save-attribute" :selected="true">
<div class="panel">
<div class="panel-body">
<div class="row">
Expand Down

0 comments on commit e0c7676

Please sign in to comment.