lipsiadmin 5.1.7 → 5.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/lib/version.rb +1 -1
- data/lib/view/helpers/ext/templates/grid_functions.js.erb +9 -6
- data/lib/view/helpers/ext_helper.rb +1 -3
- metadata +5 -7
data/Rakefile
CHANGED
@@ -58,12 +58,12 @@ end
|
|
58
58
|
|
59
59
|
desc "Install the gem locally"
|
60
60
|
task :install => [:uninstall, :repackage] do
|
61
|
-
sh %{
|
61
|
+
sh %{gem install pkg/#{PKG_FILE_NAME}.gem --no-ri --no-rdoc}
|
62
62
|
end
|
63
63
|
|
64
64
|
desc "Unistall the gem from local"
|
65
65
|
task :uninstall => [:clean] do
|
66
|
-
sh %{
|
66
|
+
sh %{gem uninstall #{PKG_NAME}} rescue nil
|
67
67
|
end
|
68
68
|
|
69
69
|
desc "Generate a gemspec file for GitHub"
|
data/lib/version.rb
CHANGED
@@ -45,10 +45,13 @@
|
|
45
45
|
var columnId = <%= @var %>.getColumnModel().getColumnId(e.column);
|
46
46
|
var column = <%= @var %>.getColumnModel().getColumnById(columnId);
|
47
47
|
|
48
|
+
params = {};
|
49
|
+
params[column.name] = e.value;
|
50
|
+
|
48
51
|
Ext.Ajax.request({
|
49
52
|
url: '<%= @base_path %>/'+e.record.id+".json",
|
50
53
|
method: 'PUT',
|
51
|
-
params:
|
54
|
+
params: params,
|
52
55
|
success: function(result, request){
|
53
56
|
var resultValue = Ext.decode(result.responseText);
|
54
57
|
if (resultValue.success == true){
|
@@ -57,7 +60,7 @@
|
|
57
60
|
Ext.Msg.alert(Backend.locale.messages.alert.title, resultValue.msg);
|
58
61
|
e.record.reject();
|
59
62
|
}
|
60
|
-
},
|
63
|
+
},
|
61
64
|
failure: function(result, request) {
|
62
65
|
Ext.Msg.alert(Backend.locale.messages.alert.title, Lipsiadmin.locale.alert.msg);
|
63
66
|
e.record.reject();
|
@@ -88,14 +91,14 @@ function remove(){
|
|
88
91
|
params: {<%= @forgery_protection_token %>: '<%= @authenticity_token %>'},
|
89
92
|
success: function(result, request){
|
90
93
|
Backend.app.unmask();
|
91
|
-
var resultValue = Ext.decode(result.responseText);
|
94
|
+
var resultValue = Ext.decode(result.responseText);
|
92
95
|
if (resultValue.success == true){
|
93
96
|
<%= @store %>.remove(r);
|
94
|
-
} else {
|
97
|
+
} else {
|
95
98
|
Ext.MessageBox.alert(Backend.locale.messages.alert.title, resultValue.msg);
|
96
99
|
return;
|
97
100
|
}
|
98
|
-
},
|
101
|
+
},
|
99
102
|
failure: function(result, request) {
|
100
103
|
Backend.app.unmask();
|
101
104
|
Ext.Msg.alert(Backend.locale.messages.alert.title, Backend.locale.messages.alert.message);
|
@@ -105,4 +108,4 @@ function remove(){
|
|
105
108
|
}
|
106
109
|
});
|
107
110
|
}
|
108
|
-
<% end %>
|
111
|
+
<% end %>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lipsiadmin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 35
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 5
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 5.1.
|
9
|
+
- 8
|
10
|
+
version: 5.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Davide D'Agostino
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
19
|
-
default_executable:
|
18
|
+
date: 2012-03-24 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: haml
|
@@ -467,7 +466,6 @@ files:
|
|
467
466
|
- resources/pd4ml/ss_css2.jar
|
468
467
|
- resources/rdoc/horo.rb
|
469
468
|
- tasks/lipsiadmin_tasks.rake
|
470
|
-
has_rdoc: true
|
471
469
|
homepage: http://www.lipsiadmin.com
|
472
470
|
licenses: []
|
473
471
|
|
@@ -497,7 +495,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
497
495
|
requirements:
|
498
496
|
- ImageMagick
|
499
497
|
rubyforge_project: lipsiadmin
|
500
|
-
rubygems_version: 1.
|
498
|
+
rubygems_version: 1.8.20
|
501
499
|
signing_key:
|
502
500
|
specification_version: 3
|
503
501
|
summary: Lipsiadmin is a new revolutionary admin for your projects.Lipsiadmin is based on Ext Js 2.0. framework (with prototype adapter) and is ready for Rails 2.0. This admin is for newbie developper but also for experts, is not entirely written in javascript because the aim of developper wose build in a agile way web/site apps so we use extjs in a new intelligent way a mixin of 'old' html and new ajax functions, for example ext manage the layout of page, grids, tree and errors, but form are in html code.
|