Story #104525314 - fix xpath, verified must be found on child delete/delete

This commit is contained in:
Matt Farnsworth 2015-11-05 13:08:53 +02:00
parent eda586d8c4
commit 68a93a33ab

View file

@ -513,7 +513,7 @@ class Epp::Domain < Domain
return false unless valid?
if Setting.request_confirmation_on_domain_deletion_enabled &&
frame.css('delete').attr('verified').to_s.downcase != 'yes'
frame.css('delete').children.css('delete').attr('verified').to_s.downcase != 'yes'
registrant_verification_asked!(frame.to_s, user_id)
self.deliver_emails = true # turn on email delivery for epp