Fixed and closed #428: added page filtering in Popup.aspx and PopupWYSIWYG.aspx.

This commit is contained in:
Dario Solera 2010-02-02 10:48:46 +00:00
parent 9aeec36642
commit 0287216b0e
3 changed files with 40 additions and 2 deletions

View file

@ -16,5 +16,5 @@ using System.Reflection;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("3.0.1.470")]
[assembly: AssemblyFileVersion("3.0.1.470")]
[assembly: AssemblyVersion("3.0.1.471")]
[assembly: AssemblyFileVersion("3.0.1.471")]

View file

@ -173,6 +173,25 @@
<!--
document.getElementById("btnOkPageLink").onclick = ProcessPageLink;
document.getElementById("btnCancelPageLink").onclick = CancelAll;
$(function() {
$("#<%= txtPageName.ClientID %>").keyup(function() {
var value = $("#<%= txtPageName.ClientID %>").val().toLowerCase();
$("div.treecontainer a.menulink").each(function() {
var elem = $(this);
var match = elem.attr("title").toLowerCase().indexOf(value) != -1;
elem.css("display", match ? "" : "none");
});
});
$("#<%= txtPageTitle.ClientID %>").keyup(function() {
var value = $("#<%= txtPageTitle.ClientID %>").val().toLowerCase();
$("div.treecontainer a.menulink").each(function() {
var elem = $(this);
var match = elem.text().toLowerCase().indexOf(value) != -1;
elem.css("display", match ? "" : "none");
});
});
});
// -->
</script>

View file

@ -286,6 +286,25 @@
<!--
document.getElementById("btnOkPageLink").onclick = ProcessPageLink;
document.getElementById("btnCancelPageLink").onclick = CancelAll;
$(function() {
$("#<%= txtPageName.ClientID %>").keyup(function() {
var value = $("#<%= txtPageName.ClientID %>").val().toLowerCase();
$("div.treecontainer a.menulink").each(function() {
var elem = $(this);
var match = elem.attr("title").toLowerCase().indexOf(value) != -1;
elem.css("display", match ? "" : "none");
});
});
$("#<%= txtPageTitle.ClientID %>").keyup(function() {
var value = $("#<%= txtPageTitle.ClientID %>").val().toLowerCase();
$("div.treecontainer a.menulink").each(function() {
var elem = $(this);
var match = elem.text().toLowerCase().indexOf(value) != -1;
elem.css("display", match ? "" : "none");
});
});
});
// -->
</script>