Commit 2f43928a authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

remove old resize_window function

parent eee1f25d
......@@ -519,14 +519,6 @@ function cancel() {
}
}
//function resize_window() {
// var w = document.body.scrollWidth,
// h = document.body.scrollHeight,
// win = pdgui.get_dialogwin(pd_object_callback);
// win.width = w;
// win.height = h;
//}
function populate_array_form(arrays) {
var arrays_select, a_field = document.getElementById('arrays');
var i, opt;
......
......@@ -476,14 +476,6 @@ function cancel() {
pdgui.pdsend(pd_object_callback + " cancel");
}
//function resize_window() {
// var w = document.body.scrollWidth,
// h = document.body.scrollHeight,
// win = pdgui.get_dialogwin(pd_object_callback);
// win.width = w;
// win.height = h;
//}
// This gets called from the nw_create_window function in index.html
// It provides us with our window id from the C side. Once we have it
// we can create the menu and register event callbacks
......
......@@ -399,15 +399,6 @@ function cancel() {
//pdgui.pdsend(pd_object_callback + " cancel");
}
//function resize_window() {
// var w = document.body.scrollWidth,
// h = document.body.scrollHeight,
// win = pdgui.get_dialogwin(pd_object_callback);
// win.width = w;
// win.height = h;
//pdgui.gui_post("w is " + w + " and h is " + h);
//}
function change_api(elem) {
var id = elem.getAttribute('id'),
value = elem.getAttribute('value');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment