mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
v3: add TODO for client side spells
This commit is contained in:
parent
faaa52035d
commit
93546f6546
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
|
|||
if (targetId) spellUrl += '?targetId=' + targetId;
|
||||
|
||||
$http.post(spellUrl)
|
||||
.success(function(){
|
||||
.success(function(){ // TODO response will always include the modified data, no need to sync!
|
||||
var msg = window.env.t('youCast', {spell: spell.text()});
|
||||
switch (type) {
|
||||
case 'task': msg = window.env.t('youCastTarget', {spell: spell.text(), target: target.text});break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue