File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
resources/views/admin/documents Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1717 <i class =" fa fa-eye" ></i >
1818 </a >
1919
20- <a id =" image-row-clicker-{{ $document -> id } }" class =" dropzone-image -click" href =" #" data-id =" {{ $document -> id } }" data-title =" {{ $document -> name } }" >
20+ <a id =" image-row-clicker-{{ $document -> id } }" class =" dropzone-document -click" href =" #" data-id =" {{ $document -> id } }" data-title =" {{ $document -> name } }" >
2121 <span id =" image-row-title-span-{{ $document -> id } }" class =" image-row-title-span" >{{ $document -> name } } </span >
2222 </a >
2323
8181
8282 <div id =" preview-template" style =" display : none " >
8383 <div class =" dz-preview dz-file-preview" >
84- <a class =" dropzone-image -click" href =" #" >
84+ <a class =" dropzone-document -click" href =" #" >
8585 <div class =" dz-image" >
8686 <img data-dz-thumbnail />
8787 </div >
155155 <button type =" button" class =" btn btn-default" data-dismiss =" modal" >
156156 Cancel
157157 </button >
158- <button id =" btn-form-save" type =" button" class =" btn btn-primary" >
158+ <button id =" btn-form-save-document " type =" button" class =" btn btn-primary" >
159159 Submit
160160 </button >
161161 </div >
196196
197197 function activateImageClick ()
198198 {
199- $ (' .dropzone-image -click' ).off (' click' );
200- $ (' .dropzone-image -click' ).on (' click' , function (e ) {
199+ $ (' .dropzone-document -click' ).off (' click' );
200+ $ (' .dropzone-document -click' ).on (' click' , function (e ) {
201201 e .preventDefault ();
202202
203203 var id = $ ($ (this ).parent ().find (' .image-row-id' )).val ();
@@ -216,7 +216,7 @@ function activateImageClick()
216216 });
217217 }
218218
219- $ (' #btn-form-save' ).click (function (e ) {
219+ $ (' #btn-form-save-document ' ).click (function (e ) {
220220 e .preventDefault ();
221221
222222 $ (' #modal-document' ).modal (' hide' );
You can’t perform that action at this time.
0 commit comments