comparison core.js @ 127:4ce9f5887eee

Bug #1235: Slider, slider objects and scale markings are adjusted on window resize.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Wed, 27 May 2015 11:49:20 +0100
parents 45c7cdfcd92a
children 0e13112d8501
comparison
equal deleted inserted replaced
126:a613b89f113b 127:4ce9f5887eee
261 css.href = 'ape.css'; 261 css.href = 'ape.css';
262 262
263 document.getElementsByTagName("head")[0].appendChild(css); 263 document.getElementsByTagName("head")[0].appendChild(css);
264 } 264 }
265 document.getElementsByTagName("head")[0].appendChild(interfaceJS); 265 document.getElementsByTagName("head")[0].appendChild(interfaceJS);
266
267 // Define window callbacks for interface
268 window.onresize = function(event){resizeWindow(event);};
266 } 269 }
267 270
268 function createProjectSave(destURL) { 271 function createProjectSave(destURL) {
269 // Save the data from interface into XML and send to destURL 272 // Save the data from interface into XML and send to destURL
270 // If destURL is null then download XML in client 273 // If destURL is null then download XML in client