mirror of
https://github.com/fergalmoran/dss.git
synced 2026-02-23 00:14:09 +00:00
Added cookie
This commit is contained in:
@@ -182,6 +182,11 @@ window.MixCreateView = DSSEditableView.extend({
|
||||
'upload-hash':this.guid,
|
||||
'sessionid': $.cookie('sessionid')
|
||||
},
|
||||
'onUploadFile': function(file){
|
||||
$(window).on('beforeunload', function(){
|
||||
alert('Go on outta that..');
|
||||
});
|
||||
},
|
||||
'onAddQueueItem':function (file) {
|
||||
$('#upload-extension', this.el).val(file.name.split('.').pop());
|
||||
$('#mix-details', this.el).show();
|
||||
|
||||
@@ -91,7 +91,6 @@
|
||||
<script src="{{ STATIC_URL }}js/libs/jasny/bootstrap-fileupload.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/libs/jasny/bootstrap-rowlink.js"></script>
|
||||
{% else %}
|
||||
<script src="http://fergalmoran.github.com/cdn/js/jquery.cookie.min.js"></script>
|
||||
<script src="http://fergalmoran.github.com/cdn/js/bootstrap.min.js"></script>
|
||||
<script src="http://fergalmoran.github.com/cdn/js/bootstrap-fileupload.min.js"></script>
|
||||
<script src="http://fergalmoran.github.com/cdn/js/bootstrap-rowlink.min.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user