2017-06-22 7 views
0
インストールし点滅している場合、あなたがしなければ、必ずあなたのことを確認

Used previously without a broble. But now:jQueryのuploadifyエラー:キャッチされない例外TypeError:プロパティを読み取ることができません未定義

enter image description here

All relationships are in accordance with the documentation

$("#file_upload").uploadify({ 
      'method' : 'post', 
      'buttonClass' : 'upload-photo-file', 
      'formData' : { 'cmd' : 'download', 'path' : pathPhoto, 'user' : user}, 
      'auto'  : false, 
      'buttonText' : 'Выбрать фото', 
      'progressData' : 'speed', 
      'swf'  : '/uploadify.swf', 
      'uploader' : '/uploadify.php', 
      // Some options 
      'onUploadSuccess' : function(file, data, response) { 
       $('.results').html(data); 
      }, 
      'itemTemplate' : '<div id="${fileID}" class="uploadify-queue-item">\ 
       <div class="cancel">\ 
        <a class="del-moder-photo" href="javascript:$(\'#${instanceID}\').uploadify(\'cancel\', \'${fileID}\')"><i class="fa fa-times"></i></a>\ 
       </div>\ 
       <span class="fileName" >${fileName} (${fileSize})</span>\ 
       <span class="data"></span>\ 
       <div class="uploadify-progress"><div class="uploadify-progress-bar"><!--Progress Bar--></div></div>\ 
      </div>' 
     }); 

What happened?

答えて

0

チェックの 'queueData'ドメインは '許可'セクションにあります。

あなたがするクローム

  1. Go]を使用している場合:クローム://設定/コンテンツ/フラッシュ
  2. がドメインの許可セクションに新しいエントリを追加します。

しかし、これは、それが一部のクライアントのためのソリューションです場合は、あなたがそれらを通知したり、あなたが何らかの形であなたのウェブサイト/アプリからフラッシュを必要とすることをトリガするために他のいくつかの解決策を見つける必要があり、あなたのノード上で動作します。

ご希望の場合はご利用ください。

関連する問題