backbone js View page FileUploadoptions and FileTransfer undefined












0















I am working with backbone js (for MVC) based Cordova application for iOS.
On that we have views for displaying the template files, on that FileUploadOptions and FileTranfer is not working.
On that we defined files like below,



define(['backbonelocalstorage', 'templates/createequipment.tpl', 'templates/createequipmentinfo.tpl', 
'templates/createequipmentid.tpl', 'templates/createadditionalid.tpl', 'templates/createequipmentdetail.tpl',
'templates/createpurchaseinfo.tpl', 'templates/createtechnicaldata.tpl', 'templates/createadditionalinfo.tpl',
'templates/selectVendorList.tpl', 'templates/selectVendorListScroll.tpl', 'templates/selectSystemId.tpl',
'templates/selectSystemIdScrollList.tpl', 'templates/selectServiceProviderList.tpl', 'templates/selectServiceProviderScrollList.tpl',
'templates/selectLocationList.tpl','templates/selectLocationScrollList.tpl', 'templates/selectManufacturerList.tpl',
'templates/selectManufacturerListScroll.tpl', 'templates/selectCategoriesList.tpl', 'templates/selectCategoriesScrollList.tpl',
'templates/selectAlternativeDeviceList.tpl', 'templates/selectAlternativeDeviceScrollList.tpl', 'templates/selectContractList.tpl',
'templates/selectContractsScrollList.tpl', 'templates/systemEquipmentList.tpl', 'templates/systemEquipmentListScroll.tpl',
'views/header/newheaderview', 'views/aside/asideview', 'models/templatemodel', 'models/equipmentTemplatemodel',
'models/equipmentIDmodel', 'models/additionalIDmodel', 'models/equipmentDetailsmodel', 'models/purchaseInfomodel',
'models/technicalDatamodel', 'models/additionalInfomodel', 'models/getvendorlistmodel', 'models/getSystemIdListmodel',
'models/getserviceproviderlistmodel', 'models/getequipmentmanufacturerlistmodel', 'models/getequipmentlocationlistmodel',
'models/getequipmentcategorieslistmodel', 'models/getequipmentaltdevicelistmodel', 'models/getequipmentcontractlistmodel',
'models/createsaveequipmentmodel', 'models/productNumberValidationModel', 'models/uniqueManufacturerModel','models/uniqueSystemIdModel',
'models/equipmentInventoryLocationModel', 'models/validateSignOffUser', 'models/currentOrganizationRelevantDetails',
'models/tNrEquipmentTabModel','models/equipmentAlreadyMappedModel', 'js/childbrowser.js', 'js/vwrdatepicker.js',
'handlebars','views/createTasknRequest/ComplianceView','base64', 'bootstrap', 'jqueryUI'],
function(Storage, CreateEquipmentTemplate, CreateEquipmentInfoTemplate, CreateEquipmentIdTemplate, CreateAddtionalIdTemplate,
CreateEquipmentDetailTemplate, CreatePurchaseInfoTemplate, CreateTechnicalDataTemplate, CreateAdditionalInfoTemplate,
SelectVendorListTemplate, SelectVendorListScrollTemplate, SelectSystemIdListTemplate, SelectSystemIdScrollListTemplate,
SelectServiceProviderListTemplate, SelectServiceProviderScrollListTemplate, SelectLocationListTemplate,
SelectLocationScrollListTemplate, SelectManufacturerListTemplate, SelectManufacturerListScrollTemplate,
SelectCategoriesListTemplate, SelectCategoriesScrollListTemplate, SelectAlternativeDeviceListTemplate,
SelectAlternativeDeviceScrollListTemplate, SelectContractList, SelectContractListTemplate, SystemEquipmentList,
systemEquipmentListScroll, HeaderView, AsideView, TemplateModel, EquipmentTemplateModel, EquipmentIdModel,
AdditionalIdModel, EquipmentDetailsModel, PurchaseInfoModel, TechnicalDataModel, AdditionalInfoModel, GetVendorListModel,
GetSystemIdListModel, GetServiceProviderListModel, GetEquipmentManufacturerListModel, GetEquipmentLocationListModel,
GetEquipmentCategoriesListModel, GetEquipmentAltDeviceListModel, GetEquipmentContractListModel, CreateSaveEquipmentModel,
ProductNumberValidationModel, UniqueManufacturerModel,UniqueSystemIdModel, EquipmentInventoryLocationModel, ValidateSignOffUser,
CurrentOrganizationRelevantDetails, EquipmentListModel, equipmentAlreadyMappedModel,childBrowser, vwrDatePicker, Handlebars,ComplianceView, Base64, BootStrap) {


In this page Camera i used like below



var Camera=window.cordova.require("cordova-plugin-camera.camera");


I can able to take or select using getpicture after that i tried to upload using FileUploadOptions and FileTransfer plugin to upload the picture.



After camera or file select it redirects to success method as follows:



uploadPhotoEquipment: function(message) {
$(".modal.in").modal('hide');
captured = message;
imagename = "tempfile"; //message.name;
//fullPath = message.fullPath;
var options = new FileUploadOptions();
options.fileKey = "uploadImage";
options.fileName = imagename;
options.mimeType = "image/jpg";
options.headers = App.getAuthHeaders();
options.chunkedMode = false;
var ft = new FileTransfer();
var url = window.serviceHost + "/uploadEquipmentImageService";
ft.onprogress = function(progressEvent) {
$("#processingBody").modal("show");
$("#processing").show();
}
ft.onloadend = function(progressEvent) {
$("#processingBody").modal("hide");
$("#processing").hide();
}
ft.onerror = function(progressEvent) {
$("#processingBody").modal("hide");
$("#processing").hide();
}
ft.upload(message, url, uploadSucessEquipment, this.uploadFailEquipment, options, true);

}


I got the error like FileUploadOptions undefined, so change that into {} then i got FileTransfer is undefined.










share|improve this question





























    0















    I am working with backbone js (for MVC) based Cordova application for iOS.
    On that we have views for displaying the template files, on that FileUploadOptions and FileTranfer is not working.
    On that we defined files like below,



    define(['backbonelocalstorage', 'templates/createequipment.tpl', 'templates/createequipmentinfo.tpl', 
    'templates/createequipmentid.tpl', 'templates/createadditionalid.tpl', 'templates/createequipmentdetail.tpl',
    'templates/createpurchaseinfo.tpl', 'templates/createtechnicaldata.tpl', 'templates/createadditionalinfo.tpl',
    'templates/selectVendorList.tpl', 'templates/selectVendorListScroll.tpl', 'templates/selectSystemId.tpl',
    'templates/selectSystemIdScrollList.tpl', 'templates/selectServiceProviderList.tpl', 'templates/selectServiceProviderScrollList.tpl',
    'templates/selectLocationList.tpl','templates/selectLocationScrollList.tpl', 'templates/selectManufacturerList.tpl',
    'templates/selectManufacturerListScroll.tpl', 'templates/selectCategoriesList.tpl', 'templates/selectCategoriesScrollList.tpl',
    'templates/selectAlternativeDeviceList.tpl', 'templates/selectAlternativeDeviceScrollList.tpl', 'templates/selectContractList.tpl',
    'templates/selectContractsScrollList.tpl', 'templates/systemEquipmentList.tpl', 'templates/systemEquipmentListScroll.tpl',
    'views/header/newheaderview', 'views/aside/asideview', 'models/templatemodel', 'models/equipmentTemplatemodel',
    'models/equipmentIDmodel', 'models/additionalIDmodel', 'models/equipmentDetailsmodel', 'models/purchaseInfomodel',
    'models/technicalDatamodel', 'models/additionalInfomodel', 'models/getvendorlistmodel', 'models/getSystemIdListmodel',
    'models/getserviceproviderlistmodel', 'models/getequipmentmanufacturerlistmodel', 'models/getequipmentlocationlistmodel',
    'models/getequipmentcategorieslistmodel', 'models/getequipmentaltdevicelistmodel', 'models/getequipmentcontractlistmodel',
    'models/createsaveequipmentmodel', 'models/productNumberValidationModel', 'models/uniqueManufacturerModel','models/uniqueSystemIdModel',
    'models/equipmentInventoryLocationModel', 'models/validateSignOffUser', 'models/currentOrganizationRelevantDetails',
    'models/tNrEquipmentTabModel','models/equipmentAlreadyMappedModel', 'js/childbrowser.js', 'js/vwrdatepicker.js',
    'handlebars','views/createTasknRequest/ComplianceView','base64', 'bootstrap', 'jqueryUI'],
    function(Storage, CreateEquipmentTemplate, CreateEquipmentInfoTemplate, CreateEquipmentIdTemplate, CreateAddtionalIdTemplate,
    CreateEquipmentDetailTemplate, CreatePurchaseInfoTemplate, CreateTechnicalDataTemplate, CreateAdditionalInfoTemplate,
    SelectVendorListTemplate, SelectVendorListScrollTemplate, SelectSystemIdListTemplate, SelectSystemIdScrollListTemplate,
    SelectServiceProviderListTemplate, SelectServiceProviderScrollListTemplate, SelectLocationListTemplate,
    SelectLocationScrollListTemplate, SelectManufacturerListTemplate, SelectManufacturerListScrollTemplate,
    SelectCategoriesListTemplate, SelectCategoriesScrollListTemplate, SelectAlternativeDeviceListTemplate,
    SelectAlternativeDeviceScrollListTemplate, SelectContractList, SelectContractListTemplate, SystemEquipmentList,
    systemEquipmentListScroll, HeaderView, AsideView, TemplateModel, EquipmentTemplateModel, EquipmentIdModel,
    AdditionalIdModel, EquipmentDetailsModel, PurchaseInfoModel, TechnicalDataModel, AdditionalInfoModel, GetVendorListModel,
    GetSystemIdListModel, GetServiceProviderListModel, GetEquipmentManufacturerListModel, GetEquipmentLocationListModel,
    GetEquipmentCategoriesListModel, GetEquipmentAltDeviceListModel, GetEquipmentContractListModel, CreateSaveEquipmentModel,
    ProductNumberValidationModel, UniqueManufacturerModel,UniqueSystemIdModel, EquipmentInventoryLocationModel, ValidateSignOffUser,
    CurrentOrganizationRelevantDetails, EquipmentListModel, equipmentAlreadyMappedModel,childBrowser, vwrDatePicker, Handlebars,ComplianceView, Base64, BootStrap) {


    In this page Camera i used like below



    var Camera=window.cordova.require("cordova-plugin-camera.camera");


    I can able to take or select using getpicture after that i tried to upload using FileUploadOptions and FileTransfer plugin to upload the picture.



    After camera or file select it redirects to success method as follows:



    uploadPhotoEquipment: function(message) {
    $(".modal.in").modal('hide');
    captured = message;
    imagename = "tempfile"; //message.name;
    //fullPath = message.fullPath;
    var options = new FileUploadOptions();
    options.fileKey = "uploadImage";
    options.fileName = imagename;
    options.mimeType = "image/jpg";
    options.headers = App.getAuthHeaders();
    options.chunkedMode = false;
    var ft = new FileTransfer();
    var url = window.serviceHost + "/uploadEquipmentImageService";
    ft.onprogress = function(progressEvent) {
    $("#processingBody").modal("show");
    $("#processing").show();
    }
    ft.onloadend = function(progressEvent) {
    $("#processingBody").modal("hide");
    $("#processing").hide();
    }
    ft.onerror = function(progressEvent) {
    $("#processingBody").modal("hide");
    $("#processing").hide();
    }
    ft.upload(message, url, uploadSucessEquipment, this.uploadFailEquipment, options, true);

    }


    I got the error like FileUploadOptions undefined, so change that into {} then i got FileTransfer is undefined.










    share|improve this question



























      0












      0








      0








      I am working with backbone js (for MVC) based Cordova application for iOS.
      On that we have views for displaying the template files, on that FileUploadOptions and FileTranfer is not working.
      On that we defined files like below,



      define(['backbonelocalstorage', 'templates/createequipment.tpl', 'templates/createequipmentinfo.tpl', 
      'templates/createequipmentid.tpl', 'templates/createadditionalid.tpl', 'templates/createequipmentdetail.tpl',
      'templates/createpurchaseinfo.tpl', 'templates/createtechnicaldata.tpl', 'templates/createadditionalinfo.tpl',
      'templates/selectVendorList.tpl', 'templates/selectVendorListScroll.tpl', 'templates/selectSystemId.tpl',
      'templates/selectSystemIdScrollList.tpl', 'templates/selectServiceProviderList.tpl', 'templates/selectServiceProviderScrollList.tpl',
      'templates/selectLocationList.tpl','templates/selectLocationScrollList.tpl', 'templates/selectManufacturerList.tpl',
      'templates/selectManufacturerListScroll.tpl', 'templates/selectCategoriesList.tpl', 'templates/selectCategoriesScrollList.tpl',
      'templates/selectAlternativeDeviceList.tpl', 'templates/selectAlternativeDeviceScrollList.tpl', 'templates/selectContractList.tpl',
      'templates/selectContractsScrollList.tpl', 'templates/systemEquipmentList.tpl', 'templates/systemEquipmentListScroll.tpl',
      'views/header/newheaderview', 'views/aside/asideview', 'models/templatemodel', 'models/equipmentTemplatemodel',
      'models/equipmentIDmodel', 'models/additionalIDmodel', 'models/equipmentDetailsmodel', 'models/purchaseInfomodel',
      'models/technicalDatamodel', 'models/additionalInfomodel', 'models/getvendorlistmodel', 'models/getSystemIdListmodel',
      'models/getserviceproviderlistmodel', 'models/getequipmentmanufacturerlistmodel', 'models/getequipmentlocationlistmodel',
      'models/getequipmentcategorieslistmodel', 'models/getequipmentaltdevicelistmodel', 'models/getequipmentcontractlistmodel',
      'models/createsaveequipmentmodel', 'models/productNumberValidationModel', 'models/uniqueManufacturerModel','models/uniqueSystemIdModel',
      'models/equipmentInventoryLocationModel', 'models/validateSignOffUser', 'models/currentOrganizationRelevantDetails',
      'models/tNrEquipmentTabModel','models/equipmentAlreadyMappedModel', 'js/childbrowser.js', 'js/vwrdatepicker.js',
      'handlebars','views/createTasknRequest/ComplianceView','base64', 'bootstrap', 'jqueryUI'],
      function(Storage, CreateEquipmentTemplate, CreateEquipmentInfoTemplate, CreateEquipmentIdTemplate, CreateAddtionalIdTemplate,
      CreateEquipmentDetailTemplate, CreatePurchaseInfoTemplate, CreateTechnicalDataTemplate, CreateAdditionalInfoTemplate,
      SelectVendorListTemplate, SelectVendorListScrollTemplate, SelectSystemIdListTemplate, SelectSystemIdScrollListTemplate,
      SelectServiceProviderListTemplate, SelectServiceProviderScrollListTemplate, SelectLocationListTemplate,
      SelectLocationScrollListTemplate, SelectManufacturerListTemplate, SelectManufacturerListScrollTemplate,
      SelectCategoriesListTemplate, SelectCategoriesScrollListTemplate, SelectAlternativeDeviceListTemplate,
      SelectAlternativeDeviceScrollListTemplate, SelectContractList, SelectContractListTemplate, SystemEquipmentList,
      systemEquipmentListScroll, HeaderView, AsideView, TemplateModel, EquipmentTemplateModel, EquipmentIdModel,
      AdditionalIdModel, EquipmentDetailsModel, PurchaseInfoModel, TechnicalDataModel, AdditionalInfoModel, GetVendorListModel,
      GetSystemIdListModel, GetServiceProviderListModel, GetEquipmentManufacturerListModel, GetEquipmentLocationListModel,
      GetEquipmentCategoriesListModel, GetEquipmentAltDeviceListModel, GetEquipmentContractListModel, CreateSaveEquipmentModel,
      ProductNumberValidationModel, UniqueManufacturerModel,UniqueSystemIdModel, EquipmentInventoryLocationModel, ValidateSignOffUser,
      CurrentOrganizationRelevantDetails, EquipmentListModel, equipmentAlreadyMappedModel,childBrowser, vwrDatePicker, Handlebars,ComplianceView, Base64, BootStrap) {


      In this page Camera i used like below



      var Camera=window.cordova.require("cordova-plugin-camera.camera");


      I can able to take or select using getpicture after that i tried to upload using FileUploadOptions and FileTransfer plugin to upload the picture.



      After camera or file select it redirects to success method as follows:



      uploadPhotoEquipment: function(message) {
      $(".modal.in").modal('hide');
      captured = message;
      imagename = "tempfile"; //message.name;
      //fullPath = message.fullPath;
      var options = new FileUploadOptions();
      options.fileKey = "uploadImage";
      options.fileName = imagename;
      options.mimeType = "image/jpg";
      options.headers = App.getAuthHeaders();
      options.chunkedMode = false;
      var ft = new FileTransfer();
      var url = window.serviceHost + "/uploadEquipmentImageService";
      ft.onprogress = function(progressEvent) {
      $("#processingBody").modal("show");
      $("#processing").show();
      }
      ft.onloadend = function(progressEvent) {
      $("#processingBody").modal("hide");
      $("#processing").hide();
      }
      ft.onerror = function(progressEvent) {
      $("#processingBody").modal("hide");
      $("#processing").hide();
      }
      ft.upload(message, url, uploadSucessEquipment, this.uploadFailEquipment, options, true);

      }


      I got the error like FileUploadOptions undefined, so change that into {} then i got FileTransfer is undefined.










      share|improve this question
















      I am working with backbone js (for MVC) based Cordova application for iOS.
      On that we have views for displaying the template files, on that FileUploadOptions and FileTranfer is not working.
      On that we defined files like below,



      define(['backbonelocalstorage', 'templates/createequipment.tpl', 'templates/createequipmentinfo.tpl', 
      'templates/createequipmentid.tpl', 'templates/createadditionalid.tpl', 'templates/createequipmentdetail.tpl',
      'templates/createpurchaseinfo.tpl', 'templates/createtechnicaldata.tpl', 'templates/createadditionalinfo.tpl',
      'templates/selectVendorList.tpl', 'templates/selectVendorListScroll.tpl', 'templates/selectSystemId.tpl',
      'templates/selectSystemIdScrollList.tpl', 'templates/selectServiceProviderList.tpl', 'templates/selectServiceProviderScrollList.tpl',
      'templates/selectLocationList.tpl','templates/selectLocationScrollList.tpl', 'templates/selectManufacturerList.tpl',
      'templates/selectManufacturerListScroll.tpl', 'templates/selectCategoriesList.tpl', 'templates/selectCategoriesScrollList.tpl',
      'templates/selectAlternativeDeviceList.tpl', 'templates/selectAlternativeDeviceScrollList.tpl', 'templates/selectContractList.tpl',
      'templates/selectContractsScrollList.tpl', 'templates/systemEquipmentList.tpl', 'templates/systemEquipmentListScroll.tpl',
      'views/header/newheaderview', 'views/aside/asideview', 'models/templatemodel', 'models/equipmentTemplatemodel',
      'models/equipmentIDmodel', 'models/additionalIDmodel', 'models/equipmentDetailsmodel', 'models/purchaseInfomodel',
      'models/technicalDatamodel', 'models/additionalInfomodel', 'models/getvendorlistmodel', 'models/getSystemIdListmodel',
      'models/getserviceproviderlistmodel', 'models/getequipmentmanufacturerlistmodel', 'models/getequipmentlocationlistmodel',
      'models/getequipmentcategorieslistmodel', 'models/getequipmentaltdevicelistmodel', 'models/getequipmentcontractlistmodel',
      'models/createsaveequipmentmodel', 'models/productNumberValidationModel', 'models/uniqueManufacturerModel','models/uniqueSystemIdModel',
      'models/equipmentInventoryLocationModel', 'models/validateSignOffUser', 'models/currentOrganizationRelevantDetails',
      'models/tNrEquipmentTabModel','models/equipmentAlreadyMappedModel', 'js/childbrowser.js', 'js/vwrdatepicker.js',
      'handlebars','views/createTasknRequest/ComplianceView','base64', 'bootstrap', 'jqueryUI'],
      function(Storage, CreateEquipmentTemplate, CreateEquipmentInfoTemplate, CreateEquipmentIdTemplate, CreateAddtionalIdTemplate,
      CreateEquipmentDetailTemplate, CreatePurchaseInfoTemplate, CreateTechnicalDataTemplate, CreateAdditionalInfoTemplate,
      SelectVendorListTemplate, SelectVendorListScrollTemplate, SelectSystemIdListTemplate, SelectSystemIdScrollListTemplate,
      SelectServiceProviderListTemplate, SelectServiceProviderScrollListTemplate, SelectLocationListTemplate,
      SelectLocationScrollListTemplate, SelectManufacturerListTemplate, SelectManufacturerListScrollTemplate,
      SelectCategoriesListTemplate, SelectCategoriesScrollListTemplate, SelectAlternativeDeviceListTemplate,
      SelectAlternativeDeviceScrollListTemplate, SelectContractList, SelectContractListTemplate, SystemEquipmentList,
      systemEquipmentListScroll, HeaderView, AsideView, TemplateModel, EquipmentTemplateModel, EquipmentIdModel,
      AdditionalIdModel, EquipmentDetailsModel, PurchaseInfoModel, TechnicalDataModel, AdditionalInfoModel, GetVendorListModel,
      GetSystemIdListModel, GetServiceProviderListModel, GetEquipmentManufacturerListModel, GetEquipmentLocationListModel,
      GetEquipmentCategoriesListModel, GetEquipmentAltDeviceListModel, GetEquipmentContractListModel, CreateSaveEquipmentModel,
      ProductNumberValidationModel, UniqueManufacturerModel,UniqueSystemIdModel, EquipmentInventoryLocationModel, ValidateSignOffUser,
      CurrentOrganizationRelevantDetails, EquipmentListModel, equipmentAlreadyMappedModel,childBrowser, vwrDatePicker, Handlebars,ComplianceView, Base64, BootStrap) {


      In this page Camera i used like below



      var Camera=window.cordova.require("cordova-plugin-camera.camera");


      I can able to take or select using getpicture after that i tried to upload using FileUploadOptions and FileTransfer plugin to upload the picture.



      After camera or file select it redirects to success method as follows:



      uploadPhotoEquipment: function(message) {
      $(".modal.in").modal('hide');
      captured = message;
      imagename = "tempfile"; //message.name;
      //fullPath = message.fullPath;
      var options = new FileUploadOptions();
      options.fileKey = "uploadImage";
      options.fileName = imagename;
      options.mimeType = "image/jpg";
      options.headers = App.getAuthHeaders();
      options.chunkedMode = false;
      var ft = new FileTransfer();
      var url = window.serviceHost + "/uploadEquipmentImageService";
      ft.onprogress = function(progressEvent) {
      $("#processingBody").modal("show");
      $("#processing").show();
      }
      ft.onloadend = function(progressEvent) {
      $("#processingBody").modal("hide");
      $("#processing").hide();
      }
      ft.onerror = function(progressEvent) {
      $("#processingBody").modal("hide");
      $("#processing").hide();
      }
      ft.upload(message, url, uploadSucessEquipment, this.uploadFailEquipment, options, true);

      }


      I got the error like FileUploadOptions undefined, so change that into {} then i got FileTransfer is undefined.







      cordova backbone.js cordova-plugins cordova-ios






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 14 '18 at 14:51









      James Z

      11.1k71835




      11.1k71835










      asked Nov 14 '18 at 14:33









      Prakash GovindasamyPrakash Govindasamy

      113




      113
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53302620%2fbackbone-js-view-page-fileuploadoptions-and-filetransfer-undefined%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53302620%2fbackbone-js-view-page-fileuploadoptions-and-filetransfer-undefined%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          Xamarin.form Move up view when keyboard appear

          Post-Redirect-Get with Spring WebFlux and Thymeleaf

          Anylogic : not able to use stopDelay()