RubyApp 0.6.40 → 0.6.41
Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,8 @@ module RubyApp
|
|
43
43
|
@list.items += [ item ]
|
44
44
|
|
45
45
|
@list.searched do |element, event|
|
46
|
-
RubyApp::Elements::Mobile::Dialog.show(event, RubyApp::Elements::Mobile::Dialogs::AcknowledgementDialog.new('List', "You input #{event.value}."))
|
46
|
+
# RubyApp::Elements::Mobile::Dialog.show(event, RubyApp::Elements::Mobile::Dialogs::AcknowledgementDialog.new('List', "You input #{event.value}."))
|
47
|
+
event.update_element(@list)
|
47
48
|
end
|
48
49
|
@list.item_clicked do |element, event|
|
49
50
|
RubyApp::Elements::Mobile::Dialog.show(event, RubyApp::Elements::Mobile::Dialogs::AcknowledgementDialog.new('List', "You clicked the item #{event.item.item}."))
|
@@ -104,8 +104,12 @@
|
|
104
104
|
request = $.ajax({type:'GET', url:'/' + RubyApp.getData('locale', 'en') + '/elements/' + id + '.html'});
|
105
105
|
request
|
106
106
|
.success( function(content) {
|
107
|
+
$('#' + id).prev('form.ui-listview-filter').remove();
|
107
108
|
$('#' + id).replaceWith(content);
|
108
109
|
$('#' + id).parent().trigger('create');
|
110
|
+
$('form.ui-listview-filter input').each( function() {
|
111
|
+
$(this).val($(this).parents('form.ui-listview-filter').next('ul.list').attr('data-search-value'));
|
112
|
+
});
|
109
113
|
RubyApp.log('SUCCESS RubyApp.updateElement("' + id + '")');
|
110
114
|
} )
|
111
115
|
.error( function(request, message, exception) {
|
data/lib/ruby_app/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyApp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 85
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 41
|
10
|
+
version: 0.6.41
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|