- Posts: 3
COMMUNITY FORUM
JS error when deleting an item
- Jens Kirk
- Topic Author
- Offline
- New Member
Less
More
12 years 1 week ago #103930
by Jens Kirk
JS error when deleting an item was created by Jens Kirk
Hi
In the backend I cannot delete a Item (K2 blog / article). I get this error in IE:
Message: The object does not support the option or method 'submitbutton'
Line: 457
Char: 3
Code: 0
URI: www.xxxxxxxxxxxxxxxxxx.dk/media/k2/assets/js/k2.js?v=2.5.7
In Chrome and Firefox is not not working (not giving any error).
I am using the lastest Joomla 1.5 and latest K2.
In the backend I cannot delete a Item (K2 blog / article). I get this error in IE:
Message: The object does not support the option or method 'submitbutton'
Line: 457
Char: 3
Code: 0
URI: www.xxxxxxxxxxxxxxxxxx.dk/media/k2/assets/js/k2.js?v=2.5.7
In Chrome and Firefox is not not working (not giving any error).
I am using the lastest Joomla 1.5 and latest K2.
Please Log in or Create an account to join the conversation.
- Chris
- Offline
- Senior Member
Less
More
- Posts: 56
12 years 1 week ago #103931
by Chris
Seamuno - Web & Social Media Design and Development
Join us on Facebook Today
Add me on Skype: Seamuno
Replied by Chris on topic Re: JS error when deleting an item
Hi,
I'm not 100% sure but I do know in past experiences, this can be cause if you have any form of back-end plugin/module enabled. Can you take a snapshot of your back-end and post it up so I can see if there is anything in the top that might shed some light. Sometimes third party extensions have update notifications that show up in the top panel of your admin control panel (near the admin menu items). In my past experience I simply disabled and the error would go away.
I give no guarantee that what I'm suggesting is the actual cause of your current problem however it matches a similar issue I experienced in the past. If you need further assistance and want me to take a look, let me know :)
Thanks
Chris
I'm not 100% sure but I do know in past experiences, this can be cause if you have any form of back-end plugin/module enabled. Can you take a snapshot of your back-end and post it up so I can see if there is anything in the top that might shed some light. Sometimes third party extensions have update notifications that show up in the top panel of your admin control panel (near the admin menu items). In my past experience I simply disabled and the error would go away.
I give no guarantee that what I'm suggesting is the actual cause of your current problem however it matches a similar issue I experienced in the past. If you need further assistance and want me to take a look, let me know :)
Thanks
Chris
Seamuno - Web & Social Media Design and Development
Join us on Facebook Today
Add me on Skype: Seamuno
Please Log in or Create an account to join the conversation.
- Jens Kirk
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
12 years 1 week ago #103932
by Jens Kirk
Replied by Jens Kirk on topic Re: JS error when deleting an item
Thank you for helping :-)
The active plugins are:
AcyMailing Universal filter plugin
AcyMailing Tag : insert events from EventList
AcyMailing Tag : Manage the Subscription
AcyMailing Tag : Subscriber information
AcyMailing Tag : Joomla User Information
AcyMailing Tag : JomSocial User Fields
AcyMailing Tag : Date / Time
AcyMailing table of contents generator
AcyMailing Tag : Website links
AcyMailing Manage text
AcyMailing Tag : content insertion
AcyMailing Tag : Insert a Module
AcyMailing : share on social networks
AcyMailing Template Class Replacer
AcyMailing : Handle Click tracking
AcyMailing : Statistics Plugin
Authentication - Joomla
Walls (JomSocial)
Content - Widgetkit
Content - ContentPassword
Content - Page Navigation
Content - Email Cloaking
Content - Code Hightlighter (GeSHi)
Content - Pagebreak
Editor - JoomlaCK
Editor - JCE
Editor - No Editor
Editor - TinyMCE 2.0
Editor - XStandard Lite 2.0
Editor Button - Pagebreak
Editor Button - Readmore
K2 Plugin - OpenGraph Integration
Search - K2
Søg - Eventlist
Search - Content
Search - Weblinks
Search - Contacts
Search - Categories
Search - Sections
Search - Newsfeeds
Azrul System Mambot (JomSocial / Facebook connect)
System - Log
System - jSecure Authentication
System - Registration Validator
System - Jomsocial Facebook Connect
System - Modules Anywhere
System - BIGSHOT Google Analytics
System - K2
System - Mootools Upgrade (JomSocial and more)
AcyMailing : (auto)Subscribe during Joomla registration
Reset Password
System - Kunena
System - Jomsocial Update
System - Zend Lib (JomSocial)
Disable Core Registration
System - jQuery Easy (Tarot)
System - Articles Anywhere
System - NoNumber! Framework
System - Remember Me
System - JD Gatekeeper
J16 Language backport - system - plugin (nødvendig)
User - Joomla!
User - Jomsocial User
User - K2
Love Factory User Plugin
VM - Custom, customer text input
VM - Custom, stockable variants
VM - Custom, product specification
VM - Payment, Standard
VM - Payment, Paypal
VM - Shipment, By weight, ZIP and countries
VM - Shipper, By weight, ZIP and countries
My list of modules is very long and I do not know how to show the module on the backend only? How do I do this? And also for the plugins - how do I show the plugins for the backend only?
The active plugins are:
AcyMailing Universal filter plugin
AcyMailing Tag : insert events from EventList
AcyMailing Tag : Manage the Subscription
AcyMailing Tag : Subscriber information
AcyMailing Tag : Joomla User Information
AcyMailing Tag : JomSocial User Fields
AcyMailing Tag : Date / Time
AcyMailing table of contents generator
AcyMailing Tag : Website links
AcyMailing Manage text
AcyMailing Tag : content insertion
AcyMailing Tag : Insert a Module
AcyMailing : share on social networks
AcyMailing Template Class Replacer
AcyMailing : Handle Click tracking
AcyMailing : Statistics Plugin
Authentication - Joomla
Walls (JomSocial)
Content - Widgetkit
Content - ContentPassword
Content - Page Navigation
Content - Email Cloaking
Content - Code Hightlighter (GeSHi)
Content - Pagebreak
Editor - JoomlaCK
Editor - JCE
Editor - No Editor
Editor - TinyMCE 2.0
Editor - XStandard Lite 2.0
Editor Button - Pagebreak
Editor Button - Readmore
K2 Plugin - OpenGraph Integration
Search - K2
Søg - Eventlist
Search - Content
Search - Weblinks
Search - Contacts
Search - Categories
Search - Sections
Search - Newsfeeds
Azrul System Mambot (JomSocial / Facebook connect)
System - Log
System - jSecure Authentication
System - Registration Validator
System - Jomsocial Facebook Connect
System - Modules Anywhere
System - BIGSHOT Google Analytics
System - K2
System - Mootools Upgrade (JomSocial and more)
AcyMailing : (auto)Subscribe during Joomla registration
Reset Password
System - Kunena
System - Jomsocial Update
System - Zend Lib (JomSocial)
Disable Core Registration
System - jQuery Easy (Tarot)
System - Articles Anywhere
System - NoNumber! Framework
System - Remember Me
System - JD Gatekeeper
J16 Language backport - system - plugin (nødvendig)
User - Joomla!
User - Jomsocial User
User - K2
Love Factory User Plugin
VM - Custom, customer text input
VM - Custom, stockable variants
VM - Custom, product specification
VM - Payment, Standard
VM - Payment, Paypal
VM - Shipment, By weight, ZIP and countries
VM - Shipper, By weight, ZIP and countries
My list of modules is very long and I do not know how to show the module on the backend only? How do I do this? And also for the plugins - how do I show the plugins for the backend only?
Please Log in or Create an account to join the conversation.
- Jens Kirk
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
12 years 1 week ago - 12 years 1 week ago #103933
by Jens Kirk
Replied by Jens Kirk on topic Re: JS error when deleting an item
I used the Javascript Console in the Chrome browser to track the error.
The solution was to disable the lines from 451 to 459 in the file media\k2\assets\js\k2.js
Soo the lines becomes:
// If we are in Joomla! 1.5 define the functions for validation
/*if (typeof(Joomla) === 'undefined') {
var Joomla = {};
Joomla.submitbutton = function(pressbutton){
submitform(pressbutton);
};
function submitbutton(pressbutton) {
Joomla.submitbutton(pressbutton);
}
}*/
Now the save buttons (and other buttons) are working again :-)
I have reported this J1.5 bug to the programming team :-)
The solution was to disable the lines from 451 to 459 in the file media\k2\assets\js\k2.js
Soo the lines becomes:
// If we are in Joomla! 1.5 define the functions for validation
/*if (typeof(Joomla) === 'undefined') {
var Joomla = {};
Joomla.submitbutton = function(pressbutton){
submitform(pressbutton);
};
function submitbutton(pressbutton) {
Joomla.submitbutton(pressbutton);
}
}*/
Now the save buttons (and other buttons) are working again :-)
I have reported this J1.5 bug to the programming team :-)
Please Log in or Create an account to join the conversation.