Skip to content

Commit

Permalink
[#2223]: Javascript fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
teajaymars committed Mar 22, 2012
1 parent 54b579b commit 67a49f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
21 changes: 10 additions & 11 deletions ckan/public/css/style.css
Expand Up @@ -1019,7 +1019,16 @@ span.extras-label {
.dataset-editresources-form .resource-add .fileinfo {
margin: 7px 0;
}

.name-field {
padding-top: 0.2em;
}
.name-field p {
margin: 2px 0;
}
.description-field textarea {
width: 400px;
height: 70px;
}


/* ==================== */
Expand All @@ -1043,16 +1052,6 @@ span.extras-label {
#license-instructions {
font-size: 11px;
}
.dataset-create-form .name-field {
padding-top: 0.2em;
}
.dataset-create-form .name-field p {
margin-bottom: 4px;
}
.dataset-create-form .description-field textarea {
width: 400px;
height: 70px;
}

.group-create-form dd.name-field {
padding-top: 0.2em;
Expand Down
5 changes: 1 addition & 4 deletions ckan/public/scripts/application.js
Expand Up @@ -80,9 +80,6 @@ var CKAN = CKAN || {};
editMode: true
});

// Set up hashtag nagivigation
CKAN.Utils.setupDatasetEditNavigation();

// Set up dataset delete button
CKAN.Utils.setupDatasetDeleteButton();
}
Expand Down Expand Up @@ -228,7 +225,7 @@ CKAN.View.UrlEditor = Backbone.View.extend({
urlChanged: function() {
var slug = this.urlInput.val();
if (this.updateTimer) { clearTimeout(this.updateTimer); }
if (slug.length) {
if (slug.length===0) {
this.urlSuffix.html('<span>...</span>');
}
else {
Expand Down

0 comments on commit 67a49f2

Please sign in to comment.