jquery_cheats 5.1.0 → 5.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -63,9 +63,6 @@ function stackedColumn(name, xmlurl) {
63
63
  $.get(xmlurl, function(xml) {
64
64
  loadLinks(xml);
65
65
  establishSize(name,xml);
66
- var s1 = [2, 6, 7, 10];
67
- var s2 = [7, 5, 3, 4];
68
- var s3 = [14, 9, 3, 8];
69
66
  var series = loadStackedColumns(xml)
70
67
  for(var i = 0; i < series.length; i++)
71
68
  {
@@ -190,6 +187,7 @@ function barChart(name, xmlurl) {
190
187
  return true;
191
188
  },
192
189
  error : function(xhr, status, error) {
190
+ alert("A fatal error occured.")
193
191
  var err = eval("(" + xhr.responseText + ")");
194
192
  alert(err.Message);
195
193
  },
@@ -48,8 +48,10 @@ function showGraphImage()
48
48
  greyScreen$.fadeIn();
49
49
 
50
50
  var chart = click$;
51
+ //centered text is bad in this situation...make sure it is left
52
+ chart.css("text-align","left")
51
53
  var img = chart.jqplotToImageStr({});
52
- //$("div#canvasImage").remove();
54
+ $("jqplot_context_menu").remove();
53
55
  $("body").prepend('<div id="canvasImage"><img src="'+img+'" name="'+chart.attr("id")+'"/></div>');
54
56
  ci$ = $("div#canvasImage");
55
57
  ci$.css("position","fixed")
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "jquery_cheats"
5
- s.version = "5.1.0"
5
+ s.version = "5.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Travis Pessettto"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery_cheats
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: