Problem editing items

When editing items, I am no longer able to use the "add input" option to add Dublin Core elements. Instead, the item record is simply saved and then closes.

Has anyone else encountered this?

I am using Omeka 1.3.

This is probably a problem with the JavaScript on the items/edit page.

Does this problem happen across different browsers?

Yes, it happens with Firefox (v.3.6.13) and with IE (v.8). I haven't tried any other browsers at this point.

The main change in 1.3 that could cause this kind of trouble is our switch to Google's CDN for including jQuery. The only situation in which that change would cause a problem is if you're viewing your Omeka site from a computer without outside Internet access.

Assuming that's not the case, it'd be helpful if you could post the <head> tag from the page source (View -> Page Source under Firefox) for your items/edit page. This way we can tell if the correct scripts are being loaded for your site.

Here it is:

<head>
<title>Omeka Admin: NOBLE Digital Heritage | Edit Item #15552: "Stone Chapel Interior" </title>

<!-- Meta -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!-- Plugin Stuff -->
<style type="text/css">
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
}
</style>

<!-- Stylesheets -->
<link href="http://heritage.noblenet.org/admin/themes/default/css/default.css" media="all" rel="stylesheet" type="text/css" />
<link href="http://heritage.noblenet.org/application/views/scripts/css/jquery-ui.css" media="screen" rel="stylesheet" type="text/css" />

<!-- JavaScripts -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js"></script>
<script type="text/javascript">
    //<![CDATA[
jQuery.noConflict();    //]]>
</script>
<script type="text/javascript" src="http://heritage.noblenet.org/admin/themes/default/javascripts/globals.js"></script>
<script type="text/javascript">
    //<![CDATA[
// Add an autocompleter to all Dublin Core:Subject form inputs.
jQuery(document).bind('omeka:elementformload', function(event) {
    jQuery('#element-49 input[type="text"]').autocomplete({
        minLength: 3,
        source: "\/admin\/lcsh\/index\/lcsh-proxy\/"    });
});
    //]]>
</script>
</head>

Everything there looks correct.

I assume you're not using an edited version of any of the admin items views?

The items javascript uses jQuery, not Prototype in Omeka 1.3, so if you've copied over an old version of any of the views or javascripts for the admin interface, you could see a problem like this.

Not sure. Would that be the admin/themes/default/items directory?

Yes.

Modified files under the following directories could potentially be involved with your issue:

admin/themes/default/items
admin/themes/default/javascripts

In particular, admin/themes/default/items/form.php is where the item form JavaScript is included. Using a version of this file from Omeka 1.2 would definitely cause this problem.

I don't believe that I modified any files in the items directory and know I did not modify and of the javascript files. Just in case, I recopied all files from those directories over to our server. I still have the same problem, though.

Any other thoughts? Other information that I can provide for you?

Thanks.