issue attachment upload or delete in New ticket create page
Moderator: crythias
issue attachment upload or delete in New ticket create page
Hi,
I am facing a new kind of issue. When I create a new ticket, there are some dynamic fields that are visible based on type. but when I upload an attachment or delete it, page reloads and the fields those should be visible had lost. How can it be resolved?
Thanks
Gunjan
I am facing a new kind of issue. When I create a new ticket, there are some dynamic fields that are visible based on type. but when I upload an attachment or delete it, page reloads and the fields those should be visible had lost. How can it be resolved?
Thanks
Gunjan
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: issue attachment upload or delete in New ticket create p
... DDT ... Or do the same thing for every field.Gunjan wrote:When I create a new ticket, there are some dynamic fields that are visible based on type. but when I upload an attachment or delete it, page reloads and the fields those should be visible had lost. How can it be resolved?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: issue attachment upload or delete in New ticket create p
Sorry, I could not understand. what does DDT mean?? and what can I do for every field?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: issue attachment upload or delete in New ticket create p
DDT = Don't do that
Not by default. You made a change based upon type. you also need to run the script *anyway* at the end of the load page.Gunjan wrote:When I create a new ticket, there are some dynamic fields that are visible based on type.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: issue attachment upload or delete in New ticket create p
yes I understand this. I want to ask that where could I use my script. Could you tell me the location where I should use my script?
Re: issue attachment upload or delete in New ticket create p
could anyone help me on this please?
Thanks in advance!
Thanks in advance!
Re: issue attachment upload or delete in New ticket create p
I have solved this.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: issue attachment upload or delete in New ticket create p
It would be great if you could post your solutions. It might help others with similar issues...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 68
- Joined: 11 Apr 2014, 16:14
- Znuny Version: 3.0.11
- Real Name: Margaux Grandhomme
- Company: Haulotte Group
- Location: France
Re: issue attachment upload or delete in New ticket create p
Yes please post your solution, I'm facing kind of the same issue. When I upload an attachment, every dynamic fields appear whereas some should be hidden (you know, dynamic field based on service selection...)
OTRS 3.0.11 with ITSM, CMDB, FAQ...
Windows Server 2008 R2
Testing OTRS 3.2.16 and 3.3.1 on Ubuntu server with MSSQL
Windows Server 2008 R2
Testing OTRS 3.2.16 and 3.3.1 on Ubuntu server with MSSQL
Re: issue attachment upload or delete in New ticket create p
Hi,
I am really sorry but it has been a long time when I worked on this. I have forgotten what I did that time. As far as I remember, there was something related to window.onload function. When you upload/delete an attachment, it reloads the page. I have trying to find what I did, I would post here solution as soon as I would find that.
Regards,
Gunjan
I am really sorry but it has been a long time when I worked on this. I have forgotten what I did that time. As far as I remember, there was something related to window.onload function. When you upload/delete an attachment, it reloads the page. I have trying to find what I did, I would post here solution as soon as I would find that.
Regards,
Gunjan