lib/ruby_app/elements/mobile/pages/information/scripts_page.rb in RubyApp-0.5.38 vs lib/ruby_app/elements/mobile/pages/information/scripts_page.rb in RubyApp-0.5.39
- old
+ new
@@ -24,10 +24,10 @@
@scripts_list = RubyApp::Elements::Mobile::Pages::Information::ScriptsList.new
@scripts_list.item_clicked do |element, event|
if RubyApp::Session.configuration.scripts.enabled
event.go(event.item.script.url)
else
- RubyApp::Elements::Mobile::Dialog.show(event, RubyApp::Elements::Mobile::Dialogs::AcknowledgementDialog.new('Scripts', 'Scripts are currently disabled.'), :transition => 'pop')
+ RubyApp::Elements::Mobile::Dialog.show(event, RubyApp::Elements::Mobile::Dialogs::AcknowledgementDialog.new('Scripts', 'Scripts are currently disabled.'))
end
end
end