Removing unused script.

This commit is contained in:
Sipke Schoorstra
2014-07-24 21:18:08 -07:00
parent be37ee54dc
commit 4ba6bcdbc0
3 changed files with 0 additions and 20 deletions

View File

@@ -256,7 +256,6 @@
<Content Include="Scripts\calendars\jquery.calendars.validation.min.js" />
<Content Include="Scripts\jquery-1.11.1.js" />
<Content Include="Scripts\jquery-1.11.1.min.js" />
<Content Include="Scripts\jquery-datetime-editor.js" />
<Content Include="Scripts\jquery-migrate-1.2.1.js" />
<Content Include="Scripts\jquery-migrate-1.2.1.min.js" />
<Content Include="Scripts\timeentry\jquery.timeentry-ar.js" />

View File

@@ -77,7 +77,6 @@ namespace Orchard.jQuery {
manifest.DefineStyle("jQueryTimeEntry").SetUrl("jquery.timeentry.css").SetVersion("1.5.2");
// jQuery Date/Time Editor Enhancements
manifest.DefineScript("jQueryDateTimeEditor").SetUrl("jquery-datetime-editor.js").SetDependencies("jQuery");
manifest.DefineStyle("jQueryDateTimeEditor").SetUrl("jquery-datetime-editor.css").SetDependencies("DateTimeEditor");
// jQuery File Upload

View File

@@ -1,18 +0,0 @@
var clearHint = function (self) { self.removeClass("hinted"); if (self.val() == self.data("hint")) { self.val("") } };
var resetHint = function (self) { setTimeout(function () { if (!self.val()) { self.addClass("hinted").val(self.data("hint")) } }, 300) };
$(document).ready(function () {
$("label.forpicker").each(function () {
var $this = $(this);
var pickerInput = $("#" + $this.attr("for"));
pickerInput.data("hint", $this.text());
if (!pickerInput.val()) {
pickerInput.addClass("hinted")
.val(pickerInput.data("hint"))
.change(function () { clearHint($(this)); })
.focus(function () { clearHint($(this)); })
.blur(function () { resetHint($(this)); });
$this.closest("form").submit(function () { clearHint(pickerInput); pickerInput = 0; });
}
});
});