Moodle

Cryptic message deleting resources with ajax enabled

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.9.3
  • Fix Version/s: None
  • Component/s: AJAX
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

Disable ajax in Site Administration->Appearance->AJAX and Javascript
Delete a resource inside a course
You get the notice: "Are you absolutely sure you want to completely delete <<module name>> '<<Name of course module instance>>' ?"

Enable ajax in Site Administration->Appearance->AJAX and Javascript
Delete a resource inside a course
You get the javascript message: Delete resource <<cm->id>> ?
Quite cryptic!! Do you agree?

Issue Links

Activity

Hide
P P added a comment -

And problems with deleting resource.

Linux
Apache 2.2.10
MySql 5.0.5
PHP 5.2.6
Moodle 1.9.2

Tested on both Windows Vista and Ubuntu GNU/Linux machines (amd64) with Firefox 3.0.5

Show
P P added a comment - And problems with deleting resource. Linux Apache 2.2.10 MySql 5.0.5 PHP 5.2.6 Moodle 1.9.2 Tested on both Windows Vista and Ubuntu GNU/Linux machines (amd64) with Firefox 3.0.5
Hide
Wen Hao Chuang added a comment -

I agree with Daniele, the deleting message is not clear for the current implementation, I just tested with the latest 1.9.4+ and it still behave the same. This should be a easy fix, so if Nicolas is busy maybe I could take a look at this one during my weekend free time.

Hi P P I just tested with similar setting (not exactly the same config as yours) with Moodle 1.9.4+ (build 20090130), it seems delete works fine with my installation. However for the issue that you mentioned, I think it's a separate issue and it's been reported in MDL-10221. So maybe you want to take a look at this ticket and vote/watch for it... just my 2 cents.

Show
Wen Hao Chuang added a comment - I agree with Daniele, the deleting message is not clear for the current implementation, I just tested with the latest 1.9.4+ and it still behave the same. This should be a easy fix, so if Nicolas is busy maybe I could take a look at this one during my weekend free time. Hi P P I just tested with similar setting (not exactly the same config as yours) with Moodle 1.9.4+ (build 20090130), it seems delete works fine with my installation. However for the issue that you mentioned, I think it's a separate issue and it's been reported in MDL-10221. So maybe you want to take a look at this ticket and vote/watch for it... just my 2 cents.
Hide
Wen Hao Chuang added a comment -

After looked at this issue again, I think this is a duplicate of MDL-14790. So I'm closing this one now as a duplicate (if I may). People who are watching this ticket now should be watching MDL-14790 instead. Thanks!

Show
Wen Hao Chuang added a comment - After looked at this issue again, I think this is a duplicate of MDL-14790. So I'm closing this one now as a duplicate (if I may). People who are watching this ticket now should be watching MDL-14790 instead. Thanks!

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: