This commit is contained in:
manzerbredes 2016-03-28 19:01:32 +02:00
parent a577b60ce4
commit f4da4f285a
7 changed files with 2 additions and 2 deletions

View file

@ -52,13 +52,13 @@ mainApp.factory('Image',[ '$http', 'Identity', function($http, Identity){
form_data.append("token" , Identity.getToken())
form_data.append('action',"uploadImage")
form_data.append('id','6564')
form_data.append('file_name', fileToUpload.name);
form_data.append('file_name', fileToUpload);
$.ajax({
url: "../server/index.php", // Url to which the request is send
type: "POST", // Type of request to be send, called as method
data: form_data, // Data sent to server, a set of key/value pairs (i.e. form fields and values)
file_name:fileToUpload.name,
file_name:fileToUpload,
token : Identity.getToken(),
task : "image",
action:'uploadImage',

0
server/Test/DisplayListCidr.php Normal file → Executable file
View file

0
server/Test/getIdNetwork.php Normal file → Executable file
View file

0
server/Test/getNetwork.php Normal file → Executable file
View file

0
server/core/Automating.php Normal file → Executable file
View file

0
server/core/Network.php~ Normal file → Executable file
View file

0
server/vendor/php-opencloud/common/.travis.yml vendored Normal file → Executable file
View file