← Back to team overview

mahara-contributors team mailing list archive

[Bug 1052430] Re: Javascript issue on /artefact/blog/view/

 

Hi Kristina;

> When editing an existing post, when you click add file, then click
select on a file, it is automatically added to the post before you click
save.

As the limit of non javascript interaction, the form will be submitted every time a button is clicked. In this case, when you click the button 'Select', the form will be submitted and the file will be placed in the selected list of the post. Therefore you don't need to click the button "Save" again.
We can overcome this problem by temporary storing the list of selected files in the database, however, it will require lots of changes and will affect the site performance. In my opinion, it is not worth to do.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1052430

Title:
  Javascript issue on /artefact/blog/view/

Status in Mahara ePortfolio:
  Triaged

Bug description:
  /artefact/blog/view/
  reported for 1.5dev

  only one journal set

  When adding a new entry (/artefact/blog/post.php?blog=4), you can't
  add new files.

  When editing an existing post, when you click add file, a new page is
  drawn but it doesn't show the part of the page where you can select
  files (ie there shoudl be an html anchor or soemthing)

  When editing an existing post, when you click add file, then click
  select on a file, it is automatically added to the post before you
  click save.

  When editing an existing post, and you add a file, you can't click
  save to get out of that page. instead it tags an extra &browse=1 to
  the url (/artefact/blog/post.php?id=42&browse=1&browse=1). Clicking
  cancel works, but all non-file changes are lost

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1052430/+subscriptions


References