Created
September 21, 2012 18:50
-
-
Save lholmquist/3763191 to your computer and use it in GitHub Desktop.
datamanger remove
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///Already Updated https://github.com/aerogear/TODO/commit/9af0ee9f5f155c76d359e6d55d6e46d25d4a31de | |
//extracted from app.js of TODO | |
//Remove | |
switch( type ) { | |
case "project": | |
options.valves = ProjectsValve; | |
Projects.remove( options ); | |
break; | |
........... | |
} | |
//doesn't actually remove from the UI. Stepping through the remove success callback, the valve is undefinded | |
//think we need to change it to, wdyt | |
switch( type ) { | |
case "project": | |
Projects.remove( options, { valves: ProjectsValve } ); | |
break; | |
........... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment