]> git.mjollnir.org Git - moodle.git/commit
NOBUG: Fixed confirm() - two buttons "Yes" were displayed
authormudrd8mz <mudrd8mz>
Tue, 1 Sep 2009 14:15:49 +0000 (14:15 +0000)
committermudrd8mz <mudrd8mz>
Tue, 1 Sep 2009 14:15:49 +0000 (14:15 +0000)
commit0b634d752d68f8c09f61d4f7f0b5d9c7462a6b76
tree1e903abf32abb36dfc7a4760ea11261158b281c9
parent2138244c034b586dc3414c8a26d8373fba6eb3d1
NOBUG: Fixed confirm() - two buttons "Yes" were displayed

Also, I change the default labels to Continue/Cancel. It is not good for
UI consistency to have Yes/No is string URL is passed and
Continue/Cancel if moodle_url is passed.
Removing the check against empty button->text as it has always the
default value "Yes".
lib/outputrenderers.php