This commit is contained in:
2018-01-16 13:36:59 +01:00
parent 97f1b988bc
commit 00246f49f7
10 changed files with 248 additions and 41 deletions
+16 -2
View File
@@ -6,9 +6,23 @@
*/
$( function () {
dbo.editOfferModal = {
dbo.editProjectModal = {
showProject: ko.observable( false ),
newEditProject: function () {
var vm = dbo.editProjectModal;
vm.showProject( true );
},
closeProject: function(){
var vm = dbo.editProjectModal;
vm.showProject( false );
}
};
ko.applyBindings( dbo.editOfferModal, document.getElementById( 'project-modal' ) );
ko.applyBindings( dbo.editProjectModal, document.getElementById( 'project-modal' ) );
} );