Skip to content
Snippets Groups Projects
Commit 2f43928a authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

remove old resize_window function

parent eee1f25d
No related branches found
No related tags found
No related merge requests found
...@@ -519,14 +519,6 @@ function cancel() { ...@@ -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) { function populate_array_form(arrays) {
var arrays_select, a_field = document.getElementById('arrays'); var arrays_select, a_field = document.getElementById('arrays');
var i, opt; var i, opt;
......
...@@ -476,14 +476,6 @@ function cancel() { ...@@ -476,14 +476,6 @@ function cancel() {
pdgui.pdsend(pd_object_callback + " 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 // 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 // It provides us with our window id from the C side. Once we have it
// we can create the menu and register event callbacks // we can create the menu and register event callbacks
......
...@@ -399,15 +399,6 @@ function cancel() { ...@@ -399,15 +399,6 @@ function cancel() {
//pdgui.pdsend(pd_object_callback + " 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) { function change_api(elem) {
var id = elem.getAttribute('id'), var id = elem.getAttribute('id'),
value = elem.getAttribute('value'); value = elem.getAttribute('value');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment