This commit is contained in:
Xuan Sang LE 2018-02-22 15:48:40 +01:00
parent efaafeac3e
commit 46256669c1

View File

@ -15,8 +15,14 @@
<script> <script>
this.apptitle = opts.apptitle || "" this.apptitle = opts.apptitle || ""
this.minimizable = eval(opts.minimizable) || true if(opts.minimizable == undefined)
this.resizable = eval(opts.resizable) || true this.minimizable = true
else
this.minimizable = eval(opts.minimizable)
if(opts.resizable == undefined)
this.resizable = true
else
this.resizable = eval(opts.resizable)
var self = this var self = this
var offset = {top:0,left:0} var offset = {top:0,left:0}
var desktop_pos = $("#desktop").offset() var desktop_pos = $("#desktop").offset()