From ad77ef743ea1b09389807e39472f5495f66b5822 Mon Sep 17 00:00:00 2001 From: makkalot Date: Mon, 4 Aug 2008 15:39:25 +0300 Subject: generalization for glob submit code --- funcweb/funcweb/static/javascript/ajax.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'funcweb') diff --git a/funcweb/funcweb/static/javascript/ajax.js b/funcweb/funcweb/static/javascript/ajax.js index d9927a3..21a3815 100644 --- a/funcweb/funcweb/static/javascript/ajax.js +++ b/funcweb/funcweb/static/javascript/ajax.js @@ -155,6 +155,7 @@ function which_dom(){ * know where we are actually so that method will handle that */ + //that is for index.html dom_result = getElement('minioncontent'); if (dom_result != null){ //alert("Im giving back the minioncontent"); @@ -162,10 +163,11 @@ function which_dom(){ } - dom_result = getElement('another'); + //it is for groups_main.html + dom_result = getElement('minion_small'); //will change it later if (dom_result != null){ - return 'another'; + return 'minion_small'; } return dom_result; -- cgit