File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 66 "fs-extra" : " ^4.0.1" ,
77 "glob" : " ^7.1.1" ,
88 "gulp" : " gulpjs/gulp#4.0" ,
9+ "gulp-babel-minify" : " ^0.2.0" ,
910 "gulp-html-minifier" : " ^0.1.8" ,
1011 "gulp-if" : " ^2.0.1" ,
12+ "gulp-imagemin" : " ^3.3.0" ,
1113 "gulp-jshint" : " ^2.0.2" ,
1214 "gulp-replace" : " ^0.6.1" ,
1315 "gulp-style-modules" : " ^0.1.0" ,
1618 "merge-stream" : " ^1.0.0" ,
1719 "plylog" : " ^0.5.0" ,
1820 "polymer-build" : " ^2.0.0" ,
19- "polyserve" : " ^0.20.0" ,
20- "superagent" : " ^3.2.1" ,
21- "gulp-babel-minify" : " ^0.2.0" ,
22- "gulp-imagemin" : " ^3.3.0"
21+ "polyserve" : " ^0.27.13" ,
22+ "superagent" : " ^3.2.1"
2323 },
2424 "scripts" : {
2525 "build" : " node ./node_modules/gulp/bin/gulp.js" ,
Original file line number Diff line number Diff line change 9292 on-lancie-ajax ="handleSponsorResponse "> </ lancie-ajax >
9393 < lancie-ajax id ="ajaxDeleteTournament " method ="DELETE " refurl ="web/tournament/[[deleteTournament.id]] "
9494 on-lancie-ajax ="handleDeleteResponse "> </ lancie-ajax >
95- < lancie-ajax id ="ajaxAddTournament " method =" POST " refurl ="[[tournamentFormRefUrl]] "
95+ < lancie-ajax id ="ajaxAddTournament " method =[[method]] refurl ="[[tournamentFormRefUrl]] "
9696 on-lancie-ajax ="handleAddResponse "
9797 body ="[[displayingTournament]] "> </ lancie-ajax >
9898
@@ -265,12 +265,14 @@ <h4>Are you certain you want to delete this tournament?</h4>
265265 this . set ( 'displayingTournament' , this . tournaments . filter ( tournament => tournament . id === event . detail . id ) [ 0 ] ) ;
266266 this . set ( 'displayingTournamentUpdated' , false ) ;
267267 this . set ( 'tournamentFormRefUrl' , 'web/tournament/' + this . displayingTournament . id ) ;
268+ this . set ( 'method' , "PUT" ) ;
268269 this . $ . tournamentDialog . open ( ) ;
269270 }
270271
271272 openTournamentDialogNew ( ) {
272273 this . _clearTournamentDialog ( ) ;
273274 this . set ( 'tournamentFormRefUrl' , 'web/tournament' ) ;
275+ this . set ( 'method' , "POST" ) ;
274276 this . $ . tournamentDialog . open ( ) ;
275277 }
276278
You can’t perform that action at this time.
0 commit comments