Open jortilles opened 11 years ago
Hi. Some of my friends, Arnaldo, found something.
First of all in the file adhoc/views/DragResize.js There is a variable in the 164 line wich name is var position = $(el).offset() wich have the same name of an id in the HTML code so we changed the name to var _position = $(el).offset() in all the cases
var position = $(el).offset()
to
por var _position = $(el).offset()
after that in adhoc/views/SelectionsModal.js
We changed arount line 144 ;
from :
this.available_values = _.select(this.available_values, function(obj) {
return used_values.indexOf(obj[0]) === -1;
});
To:
this.available_values = _.select(this.available_values, function(obj) {
return used_values.toString().indexOf(obj[0]) === -1;
});
finally in models/QueryAction.js in line 57 we found a problem with ie cache
So we changed from
this.url = this.query.url() + escape(action)
to
this.url = this.query.url() + escape(action) +"?nocache="+new Date();
Hope it help
Great thanks!
Can you send a pull request with these changes please?
When i set a filter for a report in firefox or chorme it works fine but when i'm tring to set a filter in internet explorer it fail.
By default it launch this 2 errors:
state-machine.js, Línea 71 Carácter 79 => Not handled exception... not really important.
SCRIPT5007: Cant set the value for '_renderItem': the object is null or not defined in SelectionsModal.js, Línea 80 Carácter 3
I told you about org.saiku.adhoc.exceptions.SaikuAdhocEx ception: Encoding not supported but i couldnt get nothing from that so maybe is not related to that.