Project

General

Profile

Actions

Defect #24439

closed

Uable to add module on My Page

Added by Dave Holyfield over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
My page
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Bale to add any module to My Page. When I select module form selection "My page block" and press Add, ('m redirected to the homepage.

Information

Redmine 3.3.1.stable

Default administrator account changed
Attachments directory writable
Plugin assets directory writable (./public/plugin_assets)
RMagick available (optional)
ImageMagick convert available (optional)
System info: Linux

Environment:
Redmine version 3.3.1.stable
Ruby version 2.3.0-p0 (2015-12-25) [x86_64-linux]
Rails version 4.2.7.1
Environment production
Database adapter Mysql2
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
redmine_checklists 3.1.5
redmine_favorite_projects 2.0.3
redmine_lightbox2 0.3.1
redmine_people 1.2.0
redmine_tweaks 0.5.9-dev
redmine_zenedit 0.0.2

Actions #1

Updated by Toshi MARUYAMA over 7 years ago

  • Status changed from New to Needs feedback

I cannot reproduce on vanilla Redmine 3.3.1.

Actions #2

Updated by Dave Holyfield over 7 years ago

I'm not sure what might cause it, but if I change:

<a onclick="$(&quot;#block-form&quot;).submit()" class="icon icon-add" href="#">Add</a>

to:

<a onclick="$(&quot;#block-form&quot;).submit()" class="icon icon-add" href="javascript:;">Add</a>

it works fine!

Maybe it's wise to update the code, and use javascript:; instead of link # ?

Source location: /app/views/my/page_layout.html.erb

Actions #3

Updated by Jean-Philippe Lang over 7 years ago

Could you try r15998 instead of the proposed fix? Thanks.

Actions #4

Updated by Marius BÄ‚LTEANU almost 7 years ago

I think that we can close this issue. My page supports now inline editing of the blocks (3.4.0).

Actions #5

Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from Needs feedback to Closed
Actions

Also available in: Atom PDF