projects
/
angular-mojolicious.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
split database name in own file and variable
[angular-mojolicious.git]
/
public
/
app
/
conference
/
registration.js
diff --git
a/public/app/conference/registration.js
b/public/app/conference/registration.js
index
1551a95
..
488b129
100644
(file)
--- a/
public/app/conference/registration.js
+++ b/
public/app/conference/registration.js
@@
-14,10
+14,11
@@
function Registration($resource,$xhr){
},
symposium: { organizers: [ {name:'', surname:'', inst:'', email:'' } ], work_nr: 1 }
};
},
symposium: { organizers: [ {name:'', surname:'', inst:'', email:'' } ], work_nr: 1 }
};
- this.Registration = $resource( '/data/
conference/Registration/:id', { id:''
} );
+ this.Registration = $resource( '/data/
:database/Registration/:id', { id:'', database: database
} );
this.reset();
this.$watch('$location.hashPath', this.hash_change);
this.$xhr = $xhr;
this.reset();
this.$watch('$location.hashPath', this.hash_change);
this.$xhr = $xhr;
+ console.debug( 'database', database );
}
Registration.$inject=['$resource','$xhr'];
}
Registration.$inject=['$resource','$xhr'];