Commit 95b7592b authored by PkSM3's avatar PkSM3

possible bugfix

parent c5747cf6
......@@ -199,4 +199,4 @@ if(isset($_GET['callback'])) echo $_GET['callback'].'('.$res.')';
else echo $res;
?>
?>
\ No newline at end of file
......@@ -230,7 +230,7 @@ function bringTheNoise(pathfile,type){
theurl = bridge["forNormalQuery"]
thedata = "unique_id="+getUrlParam.nodeidparam+"&it="+iterationsFA2;
thename = true;
}
}
if (type=="filtermode") {
......@@ -239,6 +239,7 @@ function bringTheNoise(pathfile,type){
theurl = bridge["forFilteredQuery"];
thedata = "query="+getUrlParam.nodeidparam;
thename = false;
thedata = thedata.replace("#","_char_");//possible bugfix
}
// Assigning name for the network
......@@ -259,6 +260,8 @@ function bringTheNoise(pathfile,type){
}
}
//http://communityexplorer.org/explorerjs.html?nodeidparam={%22categorya%22%3A%22Keywords%22%2C%22categoryb%22%3A%22Scholars%22%2C%22tags%22%3A[%22%23resident%22]}
function theListeners(){
pr("in THELISTENERS");
......@@ -670,7 +673,7 @@ function theListeners(){
// Social Spatialization
// Semantic Spatialization
function SigmaLayouting( URL, DATA, NAME) {
pr(URL+"?"+DATA)
return $.ajax({
type: 'GET',
url: URL,
......@@ -679,6 +682,7 @@ function SigmaLayouting( URL, DATA, NAME) {
dataType: 'jsonp',
async: true,
success : function(data) {
pr(data)
if(!isUndef(getUrlParam.seed))seed=getUrlParam.seed;
extractFromJson(data,seed);
......@@ -783,7 +787,6 @@ function SigmaLayouting( URL, DATA, NAME) {
$("#semLoader").hide();
if( NOW=="B" ) {
pr("i made a modification")
changeToMacro("semantic");
partialGraph.draw();
// $("#sliderBEdgeWeight").html("");
......
......@@ -1049,16 +1049,10 @@ function MultipleSelection(nodes){
else ndsids=nodes;
if(!checkBox) {
checkBox=true;
pr("IN MULTIPLE SELECTION: past="+PAST)
pr("IN MULTIPLE SELECTION: now="+NOW)
pr("previous selections:")
pr(prevsels)
checkBox=true;
if(PAST=="--") {
pr("faire rien")
// ndsids = Object.keys(prevsels);
} else {
if(!is_empty(prevsels) && PAST==NOW ) {
var blacklist = {};
......@@ -1082,10 +1076,6 @@ function MultipleSelection(nodes){
}
}
}
// bug in first A* to a*
pr("IN MULTIPLE SELECTION: ndsids=")
pr(ndsids)
pr("")
if (ndsids.length>0) {
for(var i in ndsids) {
......@@ -1101,6 +1091,7 @@ function MultipleSelection(nodes){
return;
}
checkBox=false;
} else {
//checkbox = true
cancelSelection(false);
......@@ -1118,8 +1109,6 @@ function MultipleSelection(nodes){
partialGraph.draw();
updateLeftPanel_fix();
// if(categoriesIndex.length==1) updateLeftPanel_uni();
// if(categoriesIndex.length==2) updateLeftPanel_fix();
RefreshState("")
}
......
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