Smile Bank to Ledger

Check-in [786c2c8c74]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix logon for when bulletin board isn't there Thought I had worked around this, but need to explicitly check for page.form and then also explicitly return the initial page
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 786c2c8c74a91a3c153f3e98c375263f5c2e677f
User & Date: atomicules 2015-09-16 10:45:13
Context
2015-10-19
21:33
Ensure all extraneous spaces are removed check-in: cf683f4151 user: atomicules tags: trunk
2015-09-16
10:45
Fix logon for when bulletin board isn't there Thought I had worked around this, but need to explicitly check for page.form and then also explicitly return the initial page check-in: 786c2c8c74 user: atomicules tags: trunk
2015-07-22
22:03
Mark all these transactions as cleared check-in: ad57653104 user: atomicules tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to smile.rb.

64
65
66
67
68
69
70

71
72
73



74
75
76
77
78
79
80
		page = page.form.submit
	end


	def logon_bulletin
		#requires
		page = logon_other

		if page.form.action.include?("bulletinBoard")
			page = page.form.submit
		end



	end


	def recent_transactions
		#requires
		page = logon_bulletin
		page = @a.click(page.link_with(:text => "current account"))







>
|
|
|
>
>
>







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
		page = page.form.submit
	end


	def logon_bulletin
		#requires
		page = logon_other
		if page.form
			if page.form.action.include?("bulletinBoard")
				page = page.form.submit
			end
		end
		#Need this to be the last thing so it gets returned if still logon_other
		page
	end


	def recent_transactions
		#requires
		page = logon_bulletin
		page = @a.click(page.link_with(:text => "current account"))