fixes in progress
nightly build ...
temporary svg template files as well as ALL images (previews!) should be
stored using the appropriate base path, i.e.
<companyId>/<advertiserId>/<filename>

change this at least for now - better get all this handling in the
container ... :(
clean up ajax script changeSvg
adjust url for new API
add dimX, dimY and groupId to JSON serialization method
cleanup
fix changeSvg.php ajax file; now "preview" will NOT reset previously
uploaded images
restructure controllers a bit; still some work to do, though
restore "old" variable names required for upload (as those are the names
expected from the REST API)
add new fields
cleanup
switch to XMLHttpRequest and restructure what is being sent and when ...
prevent warning on isJSON check if value is NOT Json
change occurance of "id" to "templateId" as required
add action parameter to all ajax calls (upload, preview, save)
improve behaviour when trying to leave page after all changes had been
saved (somethingchanged had not been updated upon saving before, so
you'd always be asked if you really want to leave even though the
changes had already been saved)
update hard coded customer id for now